code: def add_stdout_handler():
      global _logger
      handler = logging.StreamHandler(sys.stdout)
      handler.setFormatter(_Formatter(datefmt="%m-%d %H:%M:%S"))
      _logger.addHandler(handler)
      return handler
  
imports: import errno
  import logging
  import os
  import os.path
  import sys
  from termcolor import colored
  import shutil
  from datetime import datetime
label_desc: Use image node_id 9 for calling a global function with example usage: add_stdout_handler() and returns: handler