Bases: mill.log.Log
Helper for emitting logs.
A logger can be used to preset common information (such as a name) and then
emit Log records with that information already
present.
-
__init__(_handler=<mill.handler.distribute.Distribute object at 0x3c24110>, **kw)[source]
Initialise logger.
If you need to override the default handler then pass in a custom
_handler
-
log(*args, **kw)[source]
Emit a Log record.
-
prepare(*args, **kw)[source]
Prepare and return a log for emission.
kw arguments are automatically mixed in to a
Log record made by copying this current logger.