|
| usePythonLogging (cls) |
|
| doNotUsePythonLogging (cls) |
|
| name (self) |
|
| level (self) |
|
| parent (self) |
|
| trace (self, fmt, *args) |
|
| debug (self, fmt, *args) |
|
| info (self, fmt, *args) |
|
| warn (self, fmt, *args) |
|
| warning (self, fmt, *args) |
|
| error (self, fmt, *args) |
|
| fatal (self, fmt, *args) |
|
| critical (self, fmt, *args) |
|
| __reduce__ (self) |
|
| __repr__ (self) |
|
|
bool | UsePythonLogging = False |
|
| CRITICAL = CRITICAL |
|
| WARNING = WARNING |
|
|
| _log (self, level, use_format, fmt, *args, **kwargs) |
|
◆ __reduce__()
lsst.log.log.logContinued.Log.__reduce__ |
( |
| self | ) |
|
Implement pickle support.
◆ doNotUsePythonLogging()
lsst.log.log.logContinued.Log.doNotUsePythonLogging |
( |
| cls | ) |
|
Forward log messages to LSST logging system.
Notes
-----
This is the default state.
◆ parent()
lsst.log.log.logContinued.Log.parent |
( |
| self | ) |
|
Returns the parent logger, or None if this is the root logger.
◆ usePythonLogging()
lsst.log.log.logContinued.Log.usePythonLogging |
( |
| cls | ) |
|
Forward log messages to Python `logging`
Notes
-----
This is useful for unit testing when you want to ensure
that log messages are captured by the testing environment
as distinct from standard output.
This state only affects messages sent to the `lsst.log`
package from Python.
The documentation for this class was generated from the following file:
- python/lsst/log/log/logContinued.py