lsst.log 22.0.1-10-ga637823+cff1332836
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 name (self)
 
def level (self)
 
def parent (self)
 
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 critical (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)
 
def __repr__ (self)
 

Public Attributes

 UsePythonLogging
 

Static Public Attributes

bool UsePythonLogging = False
 
 CRITICAL = CRITICAL
 
 WARNING = WARNING
 

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.

◆ parent()

def lsst.log.log.logContinued.Log.parent (   self)
Returns the parent logger, or None if this is the root logger.

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