code: def get_dist_logger(name: str = "colossalai") -> DistributedLogger:
      """Get logger instance based on name. The DistributedLogger will create singleton instances,
      which means that only one logger instance is created per name.
  
      Args:
          name (str): name of the logger, name must be unique
  
      Returns:
          :class:`colossalai.logging.DistributedLogger`: A distributed logger singleton instance.
      """
      return DistributedLogger.get_instance(name=name)
  
imports: import logging
  from typing import List, Optional
  from .logger import DistributedLogger
label_desc: Use image node_id 1 for calling a global function with example usage: get_dist_logger(name) and returns: DistributedLogger