docs: def showLogging(debug=False):
      """
      Shortcut for enabling log dump
      """
  
      try:
          log_level = logging.WARN
          log_format = LOG_FORMAT_DEBUG
          if debug:
              log_level = logging.DEBUG
          logging.basicConfig(
              level=log_level,
              format=log_format)
      except:
          logging.basicConfig()