gufo.err.middleware.traceback¶
TracebackMiddleware.
TracebackMiddleware
¶
Bases: BaseMiddleware
Dump traceback to the gufo.err
logger.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
format |
str
|
dumping format, one of |
'terse'
|
Raises:
Type | Description |
---|---|
ValueError
|
On invalid |
Examples:
Implicit initialization of the middleware using
default terse
format:
Implicit initialization of the middleware using
explicit terse
format:
Implicit initialization of the middleware using
explicit extend
format:
Explicit initialization of the middleware: