human
Write me a the Python code you requested given the following:
Complete the below
def log_subprocess(func):

    ''''Wrapper around subprocess to log.debug commands.'
    '''
assistant
#Here is the Python code you requested.
    @wraps(func)
    def wrapper(*params, **kwargs):
        fc = ('%s(%s)' % (func.__name__, ',    '.join(([a.__repr__() for a in params] + [('%s    =    %s' % (a, b)) for (a, b) in kwargs.items()]))))
        log.debug(('%s    called' % fc))
        return func(*params, **kwargs)
    return wrapper