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
The standard python logger comes with the following named log levels: NOTSET, DEBUG, INFO, WARNING, ERROR, CRITICAL. In practice this limits logging of nominal processing to two levels: DEBUG and INFO, with occasional WARNING messages.
This flattened hierarchy results in large numbers of logged events having the same level and obscures the processing flow when operating on large numbers of files. The Boost logging library has a addition level below DEBUG called TRACE which is useful for tracing program execution at a lower level than DEBUG.
Sub-class the python logging class in AstroPhotography.core.logger to add new named levels:
TRACE at a level below DEBUG
OVERVIEW at a level above INFO but below WARNING
The new logging class should support named member function calls of the form logger.trace(msg: str) and logger.overview(msg: str)
The text was updated successfully, but these errors were encountered:
The standard python logger comes with the following named log levels: NOTSET, DEBUG, INFO, WARNING, ERROR, CRITICAL. In practice this limits logging of nominal processing to two levels:
DEBUG
andINFO
, with occasionalWARNING
messages.This flattened hierarchy results in large numbers of logged events having the same level and obscures the processing flow when operating on large numbers of files. The Boost logging library has a addition level below
DEBUG
calledTRACE
which is useful for tracing program execution at a lower level thanDEBUG
.Sub-class the python logging class in
AstroPhotography.core.logger
to add new named levels:TRACE
at a level belowDEBUG
OVERVIEW
at a level aboveINFO
but belowWARNING
The new logging class should support named member function calls of the form
logger.trace(msg: str)
andlogger.overview(msg: str)
The text was updated successfully, but these errors were encountered: