Dictionary-based Configuration

Dictionary-based Configuration

Dictionary-based Configuration

This module implements dictionary-based configuration according to PEP 391.

N.B. This is part of the standard library since Python 2.7 / 3.2, so the version here is for use with earlier Python versions.

class logutils.dictconfig.DictConfigurator(config)

Configure logging using a dictionary-like object to describe the configuration.

configure()

Do the configuration.

logutils.dictconfig.dictConfig(config)

Configure logging using a dictionary.