code: def get_level():
      
      handler, logger = find_handler(logging.getLogger(), match_stream_handler)
      return handler.level if handler else DEFAULT_LOG_LEVEL
docs: Get the logging level of the root handler.
  
      :returns: The logging level of the root handler (an integer) or
                :data:`DEFAULT_LOG_LEVEL` (if no root handler exists).