code: def _setup_logger():
      _root_logger.setLevel(logging.DEBUG)
      global _default_handler
      if _default_handler is None:
          _default_handler = logging.StreamHandler(sys.stdout)
          _default_handler.flush = sys.stdout.flush  # type: ignore
          _default_handler.setLevel(logging.INFO)
          _root_logger.addHandler(_default_handler)
      fmt = NewLineFormatter(_FORMAT, datefmt=_DATE_FORMAT)
      _default_handler.setFormatter(fmt)
      # Setting this will avoid the message
      # being propagated to the parent logger.
      _root_logger.propagate = False
  
imports: import logging
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: _setup_logger() without return types