code: def get_logger():
      
      root = logging.getLogger()
      root.setLevel(logging.WARNING)
      ch = logging.StreamHandler(sys.stderr)
      ch.setLevel(logging.DEBUG)
      formatter = logging.Formatter('%(message)s')
      ch.setFormatter(formatter)
      root.addHandler(ch)
      return root
docs: Instantiate a logger.