You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If logging at the debug level is disabled, or the package is compiled with the "noop" option, logger.time_stop (function) will raise the "function returned without value" exception.
Also - it is preferable the code in the time_start and time_stop methods should manage the timers even if debug level logging is disabled; we may want the return value of time_stop (function) even if logging is disabled (e.g. to record the duration of an event elsewhere).
Context: I'm creating a wrapper for the time_start and time_stop methods that will log instrumentation for alerting etc. even if logger is disabled.
The text was updated successfully, but these errors were encountered:
If logging at the debug level is disabled, or the package is compiled with the "noop" option, logger.time_stop (function) will raise the "function returned without value" exception.
Also - it is preferable the code in the time_start and time_stop methods should manage the timers even if debug level logging is disabled; we may want the return value of time_stop (function) even if logging is disabled (e.g. to record the duration of an event elsewhere).
Context: I'm creating a wrapper for the time_start and time_stop methods that will log instrumentation for alerting etc. even if logger is disabled.
The text was updated successfully, but these errors were encountered: