|
LSSTApplications
18.1.0
LSSTDataManagementBasePackage
|
Functions | |
| def | traceSetAt (name, number) |
| Adjust logging level to display messages with trace number <= NUMBER. More... | |
| def | temporaryLogLevel (name, level) |
| def lsst.log.utils.temporaryLogLevel | ( | name, | |
| level | |||
| ) |
A context manager that temporarily sets the level of a `Log`.
Parameters
----------
name : `str`
Name of the log to modify.
level : `int`
Integer enumeration constant indicating the temporary log level.
Definition at line 45 of file utils.py.
| def lsst.log.utils.traceSetAt | ( | name, | |
| number | |||
| ) |
Adjust logging level to display messages with trace number <= NUMBER.
Set the levels of loggers "TRACEn.name" with n > NUMBER to INFO, and those with n <= NUMBER to DEBUG, so that only tracing messages with n <= NUMBER are shown.
| [in] | name | The logger name |
| [in] | number | The trace number threshold for display |
Definition at line 29 of file utils.py.
1.8.13