def _override_root_logger():
"""
Override the root logger with a `StructuredRootLogger`.
"""
logging.root = StructuredRootLogger(logging.WARNING)
logging.Logger.root = logging.root
logging.Logger.manager = logging.Manager(logging.Logger.root)
评论列表
文章目录