code: def add_handlers_to_mcore_logger():
      """Add NeMo handlers to MCore loggers.
  
      MCore doesn't have and handlers for loggers (see
      https://docs.python.org/3/howto/logging-cookbook.html#adding-handlers-other-than-nullhandler-to-a-logger-in-a-library
      for a rationale). We have to add handlers explicitly.
      """
      mcore_logger = _logging.getLogger("megatron.core")
      for handler in nemo_logger._handlers.values():
          mcore_logger.addHandler(handler)
      mcore_logger.propagate = False
      mcore_logger.setLevel(nemo_logger._logger.level)
  
label_desc: Use image node_id 1 for calling a global function with example usage: add_handlers_to_mcore_logger() without return types