def METHOD_NAME(*args, **kwargs):
  """Wraps a callable with a logging statement."""
  args_strings = tuple(short_repr(arg) for arg in args)
  kwargs_strings = tuple(('%s=%s' % (key, short_repr(val))
                          for key, val in kwargs.items()))
  log_line = '%s calling "%s" on device.' % (type(self).__name__, attr)
  if args_strings or kwargs_strings:
    log_line += ' Args: \n  %s' % (', '.join(args_strings + kwargs_strings))
  self.logger.debug(log_line)
  return attribute(*args, **kwargs)