code: def init_logger():
      
      formatter = logging.Formatter('%(levelname)s: %(message)s')
      console = logging.StreamHandler(stream=sys.stdout)
      console.setLevel(logging.INFO)
      console.setFormatter(formatter)
      logger.addHandler(console)
docs: Initialize the logger and set its format