code: def get_configuration():
      
      root = getLogger()
      name_levels = [('', logging.getLevelName(root.level))]
      name_levels.extend(
          (name, logging.getLevelName(logger.level))
          for name, logger
          in root.manager.loggerDict.items()
          if hasattr(logger, 'level')
      )
  
      config_string = ','.join('%s:%s' % x for x in name_levels)
  
      return dict(config_string=config_string, log_json=SLogger.manager.log_json)
docs: get a configuration (snapshot) that can be used to call configure
      snapshot = get_configuration()
      configure(**snapshot)