sawmill.logger.base¶
-
class
sawmill.logger.base.Logger(_handler=<sawmill.handler.distribute.Distribute object>, **kw)[source]¶ Bases:
sawmill.log.LogHelper for emitting logs.
A logger can be used to preset common information (such as a name) and then emit
Logrecords with that information already present.-
__init__(_handler=<sawmill.handler.distribute.Distribute object>, **kw)[source]¶ Initialise logger.
If you need to override the default handler then pass in a custom _handler
-