# logging_config

`logging_config`

Common logging module for axolotl

## Classes

Name | Description
--- | ---
AxolotlLogger | A Logger that automatically rejects non-axolotl INFOs.
AxolotlOrWarnErrorFilter | Allows ANY WARNING or higher (unless overridden by LOG_LEVEL)
ColorfulFormatter | Formatter to add coloring to log messages by log type

### AxolotlLogger

    logging_config.AxolotlLogger(name, level=logging.NOTSET)

A Logger that automatically rejects non-axolotl INFOs.

### 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