sawmill.logger.traceback¶
-
class
sawmill.logger.traceback.
Traceback
(_handler=<sawmill.handler.distribute.Distribute object>, **kw)[source]¶ Bases:
sawmill.logger.base.Logger
Support extracting traceback information automatically.
-
prepare
(*args, **kw)[source]¶ Prepare and return a log for emission.
If ‘traceback’ is present in kw arguments and is set to the value True then attempt to extract current traceback information and set as real value.
Warning
If no traceback could be extracted the traceback value will be the string ‘None’.
-