lsst.ctrl.pool g6c8d09e9e7+4a4456e283
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
lsst.ctrl.pool.pool.Debugger Class Reference
Inheritance diagram for lsst.ctrl.pool.pool.Debugger:
lsst.ctrl.pool.pool.SingletonMeta

Public Member Functions

def __init__ (self)
 
def log (self, source, msg, *args)
 Log message. More...
 

Public Attributes

 enabled
 
 out
 

Detailed Description

Debug logger singleton

Disabled by default; to enable, do: 'Debugger().enabled = True'
You can also redirect the output by changing the 'out' attribute.

Definition at line 393 of file pool.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.ctrl.pool.pool.Debugger.__init__ (   self)

Reimplemented from lsst.ctrl.pool.pool.SingletonMeta.

Definition at line 400 of file pool.py.

Member Function Documentation

◆ log()

def lsst.ctrl.pool.pool.Debugger.log (   self,
  source,
  msg,
args 
)

Log message.

    The 'args' are only stringified if we're enabled.

    @param source: name of source
    @param msg: message to write
    @param args: additional outputs to append to message

Definition at line 404 of file pool.py.

Member Data Documentation

◆ enabled

lsst.ctrl.pool.pool.Debugger.enabled

Definition at line 401 of file pool.py.

◆ out

lsst.ctrl.pool.pool.Debugger.out

Definition at line 402 of file pool.py.


The documentation for this class was generated from the following file: