ATLAS Offline Software
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
python.CaloCondLogger.CaloCondLogger Class Reference
Collaboration diagram for python.CaloCondLogger.CaloCondLogger:

Public Member Functions

def __init__ (self, name, lvl=logging.INFO)
 
def setLogLvl (self, lvl)
 
def getLogLvl (self, lvl)
 
def log (self)
 

Private Attributes

 _log
 

Static Private Attributes

list __slots__ = ["_log"]
 

Detailed Description

Class providing logging functionality

Definition at line 22 of file CaloCondLogger.py.

Constructor & Destructor Documentation

◆ __init__()

def python.CaloCondLogger.CaloCondLogger.__init__ (   self,
  name,
  lvl = logging.INFO 
)

Definition at line 27 of file CaloCondLogger.py.

27  def __init__(self, name, lvl=logging.INFO):
28  self._log = getLogger(name)
29  self.setLogLvl(lvl)

Member Function Documentation

◆ getLogLvl()

def python.CaloCondLogger.CaloCondLogger.getLogLvl (   self,
  lvl 
)

Definition at line 32 of file CaloCondLogger.py.

32  def getLogLvl(self, lvl):
33  self._log.getEffectiveLevel()

◆ log()

def python.CaloCondLogger.CaloCondLogger.log (   self)

Definition at line 34 of file CaloCondLogger.py.

34  def log(self):
35  return self._log
36 
37 #=== setup format

◆ setLogLvl()

def python.CaloCondLogger.CaloCondLogger.setLogLvl (   self,
  lvl 
)

Definition at line 30 of file CaloCondLogger.py.

30  def setLogLvl(self, lvl):
31  self._log.setLevel(lvl)

Member Data Documentation

◆ __slots__

list python.CaloCondLogger.CaloCondLogger.__slots__ = ["_log"]
staticprivate

Definition at line 26 of file CaloCondLogger.py.

◆ _log

python.CaloCondLogger.CaloCondLogger._log
private

Definition at line 28 of file CaloCondLogger.py.


The documentation for this class was generated from the following file:
python.CaloCondLogger.setupFormat
def setupFormat(lvl=logging.INFO)
Definition: CaloCondLogger.py:11
pool::DbPrintLvl::setLevel
void setLevel(MsgLevel l)
Definition: DbPrint.h:32
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
python.CaloCondLogger.getLogger
def getLogger(name="CaloCond")
Definition: CaloCondLogger.py:16