traceback

class mill.logger.traceback.Traceback(_handler=<mill.handler.distribute.Distribute object at 0x3c24110>, **kw)[source]

Bases: mill.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’.

Project Versions

Previous topic

dynamic

Next topic

Glossary

This Page