lsst.log  21.0.0-2-g2909d54+4a36882ba2
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.log.log.logContinued.Log Class Reference

Public Member Functions

def usePythonLogging (cls)
 
def doNotUsePythonLogging (cls)
 
def trace (self, fmt, *args)
 
def debug (self, fmt, *args)
 
def info (self, fmt, *args)
 
def warn (self, fmt, *args)
 
def warning (self, fmt, *args)
 
def error (self, fmt, *args)
 
def fatal (self, fmt, *args)
 
def tracef (self, fmt, *args, **kwargs)
 
def debugf (self, fmt, *args, **kwargs)
 
def infof (self, fmt, *args, **kwargs)
 
def warnf (self, fmt, *args, **kwargs)
 
def errorf (self, fmt, *args, **kwargs)
 
def fatalf (self, fmt, *args, **kwargs)
 
def __reduce__ (self)
 

Public Attributes

 UsePythonLogging
 

Static Public Attributes

bool UsePythonLogging = False
 

Member Function Documentation

◆ __reduce__()

def lsst.log.log.logContinued.Log.__reduce__ (   self)
Implement pickle support.

◆ doNotUsePythonLogging()

def lsst.log.log.logContinued.Log.doNotUsePythonLogging (   cls)
Forward log messages to LSST logging system.

Notes
-----
This is the default state.

◆ usePythonLogging()

def 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: