code: def log_debug(func, *args, **kwargs):
      ''' Wrap call of provided function with debug log statements. '''
      logging.debug('Starting "%s" in thread %s...', func.__name__, current_thread())
      results = func(*args, **kwargs)
      logging.debug('Successfully finished "%s" in thread %s.', func.__name__, current_thread())
      return resultf log_debug(func, *args, **kwargs):
      ''' Wrap call of provided function with debug log statements. '''
      logging.debug('Starting "%s" in thread %s...', func.__name__, current_thread())
      results = func(*args, **kwargs)
      logging.debug('Successfully finished "%s" in thread %s.', func.__name__, current_thread())
      return results
docs: Wrap call of provided function with debug log statements.