lsst.log¶
The lsst.log module provides logging for C++ and Python.
Contributing¶
lsst.log is developed at https://github.com/lsst/log.
You can find Jira issues for this module under the log component.
Python API reference¶
lsst.log Package¶
Functions¶
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | Configure log4cxx to send messages to Python logging, with MDC support. | 
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | Return the name associated with this logging level. | 
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | 
Classes¶
| Helper class to translate levels between  | |
| 
 | Handler for Python logging module that emits to LSST logging. | 
| Dictionary for MDC data. | |
| Context manager to enable Python log forwarding temporarily. | 
lsst.log.utils Module¶
Functions¶
| 
 | Adjusts logging level to display messages with the trace number being less than or equal to the provided value. | 
| 
 | A context manager that temporarily sets the level of a  | 
| 
 | Enable notebook output for log4cxx messages. | 
| Stop notebook output for log4cxx messages. | 
Classes¶
| 
 | Redirect a logging file descriptor to a Python stream. |