code: def _getlogger():
      # this file is synced to "dataflow" package as well
      package_name = (
          "dataflow"
          if __name__.startswith("dataflow")
          else "tensorpack"
      )
      logger = logging.getLogger(package_name)
      logger.propagate = False
      logger.setLevel(logging.INFO)
      handler = logging.StreamHandler(sys.stdout)
      handler.setFormatter(_MyFormatter(datefmt="%m%d %H:%M:%S"))
      logger.addHandler(handler)
      return logger
  
file_path: tensorpack/tensorpack/utils/logger.py
imports: import logging
  import os
  import os.path
  import shutil
  import sys
  from datetime import datetime
  from six.moves import input
  from termcolor import colored
label_desc: Use image node_id 1 for calling a global function with example usage: _getlogger() and returns: logger