API Reference

sawmill

sawmill.root = <sawmill.handler.distribute.Distribute object>

Top level handler responsible for relaying all logs to other handlers.

sawmill.levels = ['debug', 'info', 'warning', 'error']

Log levels ordered by severity. Do not rely on the index of the level name

sawmill.configurators = {'classic': <function configure at 0x7f581f53bb90>}

Configurators registered for use with the sawmill.configure() function.

sawmill.configure(configurator='classic', *args, **kw)[source]

Configure Mill using configurator.

Will call registered configuration function matching the configurator name with args, and kw.