code: def logtrace(logger, msg, *args, **kwargs):
      '''
      If esgfpid.defaults.LOG_TRACE_TO_DEBUG, messages are treated
      like debug messages (with an added [trace]).
      Otherwise, they are ignored.
      '''
      if esgfpid.defaults.LOG_TRACE_TO_DEBUG:
          logdebug(logger, '[trace] %s' % msg, *args, **kwargs)
      else:
          pasf logtrace(logger, msg, *args, **kwargs):
      '''
      If esgfpid.defaults.LOG_TRACE_TO_DEBUG, messages are treated
      like debug messages (with an added [trace]).
      Otherwise, they are ignored.
      '''
      if esgfpid.defaults.LOG_TRACE_TO_DEBUG:
          logdebug(logger, '[trace] %s' % msg, *args, **kwargs)
      else:
          pass
docs: If esgfpid.defaults.LOG_TRACE_TO_DEBUG, messages are treated
      like debug messages (with an added [trace]).
      Otherwise, they are ignored.