logging.config — Logging configuration — Python 3.8.2 documentation

index modules | next | previous | Python » en 3.8.2 Documentation » The Python Standard Library » Generic Operating System Services » | logging.config ¶ Source code: Lib/logging/config.py Important This page contains only reference information. For tutorials, please see Basic Tutorial Advanced Tutorial Logging Cookbook This section describes the API for configuring the logging module. ¶ The following functions configure the logging module. They are located in the logging.config module. Their use is optional — you can configure the logging module using these functions or by making calls to the main API (defined in logging itself) and defining handlers which are declared either in logging or logging.handlers . logging.config. dictConfig ( config ) ¶ Takes the logging configuration from a dictionary. The contents of this dictionary are describe...

Linked on 2020-04-15 02:06:29 | Similar Links