code: def initialize_logger():
      """Initialize steppy logger.
  
      This logger is used throughout the steppy library to report computation progress.
  
      Example:
  
          Simple use of steppy logger:
  
          .. code-block:: python
  
              initialize_logger()
              logger = get_logger()
              logger.info('My message inside pipeline')
  
          result looks like this:
  
          .. code::
  
              2018-06-02 12:33:48 steppy >>> My message inside pipeline
  
      Returns:
          logging.Logger: logger object formatted in the steppy style
      """
      logger = logging.getLogger("steppy")
      logger.setLevel(logging.INFO)
      message_format = logging.Formatter(
          fmt="%(asctime)s %(name)s >>> %(message)s",
          datefmt="%Y-%m-%d %H:%M:%S",
      )
  
      # console handler
      console_handler = logging.StreamHandler(sys.stdout)
      console_handler.setLevel(logging.INFO)
      console_handler.setFormatter(fmt=message_format)
  
      # add the handlers to the logger
      logger.addHandler(console_handler)
  
      return logger
  
file_path: steppy/steppy/utils.py
imports: import logging
  import sys
  import pydot_ng
  from IPython.display import Image, display
label_desc: Use image node_id 1 for calling a global function with example usage: initialize_logger() and returns: logger