logging_config
logging_config
Common logging module for axolotl.
Classes
| Name | Description |
|---|---|
| AxolotlLogger | Logger that applies filtering to non-axolotl loggers. |
| AxolotlOrWarnErrorFilter | Allows ANY WARNING or higher (unless overridden by LOG_LEVEL). Allows axolotl.* at |
| ColorfulFormatter | Formatter to add coloring to log messages by log type |
AxolotlLogger
logging_config.AxolotlLogger(name, level=logging.NOTSET)Logger that applies filtering to non-axolotl loggers.
AxolotlOrWarnErrorFilter
logging_config.AxolotlOrWarnErrorFilter(**kwargs)Allows ANY WARNING or higher (unless overridden by LOG_LEVEL). Allows axolotl.* at INFO or higher (unless overridden by AXOLOTL_LOG_LEVEL). Drops all other records (i.e. non-axolotl.INFO, DEBUG, etc. by default).
ColorfulFormatter
logging_config.ColorfulFormatter()Formatter to add coloring to log messages by log type
Functions
| Name | Description |
|---|---|
| configure_logging | Configure with default logging |
configure_logging
logging_config.configure_logging()Configure with default logging