code: def get_logger(
      name: str = None, level=logging.INFO
  ) -> ColossalQALogger:
      """
      Get the logger by name, if name is None, return the default logger
      """
      if name:
          logger = ColossalQALogger.get_instance(name=name)
      else:
          logger = ColossalQALogger.get_instance(name="colossalqa")
      return logger
  
file_path: ColossalAI/applications/ColossalQA/colossalqa/mylogging.py
imports: import logging
label_desc: Use image node_id 1 for calling a global function with example usage: get_logger(name, level) and returns: logger