scenario.debugloggers module¶
Extra debugging loggers.
- class ExecTimesLogger¶
Bases:
Logger
Issue#65 logger.
- __init__(context)¶
Creates an execution times logger for the given context.
- Parameters:
context – Context, usually a function/method name.
- context¶
Debug logger context. Usually a function/method name.
- t0¶
Starting time for this debug logger.
- _last_tick¶
Last tick time.
- tick(message)¶
Logs intermediate time information.
- Parameters:
message – Object of this tick.
- finish()¶
Terminates logging for the given context.