code: def init_logger(name=None):
      
      global g_logger
   
      if g_logger is None:
          g_logger = logging.getLogger(name=name)
      else:
          logging.shutdown()
          g_logger.handlers = []
   
      g_logger.setLevel(logging.DEBUG)
docs: Reload the global logger.