ATLAS Offline Software
Loading...
Searching...
No Matches
plot.TqdmLoggingHandler Class Reference
Inheritance diagram for plot.TqdmLoggingHandler:
Collaboration diagram for plot.TqdmLoggingHandler:

Public Member Functions

 __init__ (self, level=logging.NOTSET)
 emit (self, record)

Private Attributes

 __class__

Detailed Description

Constructor & Destructor Documentation

◆ __init__()

plot.TqdmLoggingHandler.__init__ ( self,
level = logging.NOTSET )

Definition at line 2040 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.

2040 def __init__(self, level=logging.NOTSET):
2041 super(self.__class__, self).__init__(level)
2042

Member Function Documentation

◆ emit()

plot.TqdmLoggingHandler.emit ( self,
record )

Definition at line 2043 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.

2043 def emit(self, record):
2044 try:
2045 msg = self.format(record)
2046 tqdm.tqdm.write(msg)
2047 self.flush()
2048 except (KeyboardInterrupt, SystemExit):
2049 raise
2050 except Exception:
2051 self.handleError(record)
2052
2053 log = logging.getLogger(__name__)

Member Data Documentation

◆ __class__

plot.TqdmLoggingHandler.__class__
private

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