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

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

 __slots__
 

Detailed Description

Base class, providing logging functionality

Definition at line 22 of file TileCalibLogger.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 27 of file TileCalibLogger.py.

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

Member Function Documentation

◆ getLogLvl()

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

Definition at line 32 of file TileCalibLogger.py.

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

◆ log()

def python.TileCalibLogger.TileCalibLogger.log (   self)

Definition at line 34 of file TileCalibLogger.py.

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

◆ setLogLvl()

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

Definition at line 30 of file TileCalibLogger.py.

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

Member Data Documentation

◆ __slots__

python.TileCalibLogger.TileCalibLogger.__slots__
staticprivate

Definition at line 26 of file TileCalibLogger.py.

◆ _log

python.TileCalibLogger.TileCalibLogger._log
private

Definition at line 28 of file TileCalibLogger.py.


The documentation for this class was generated from the following file:
python.TileCalibLogger.getLogger
def getLogger(name="TileCalib")
Definition: TileCalibLogger.py:16
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.TileCalibLogger.setupFormat
def setupFormat(lvl=logging.INFO)
Definition: TileCalibLogger.py:11