ATLAS Offline Software
Loading...
Searching...
No Matches
python.trfValidation.logFileReport Class Reference

A class holding report information from scanning a logfile This is pretty much a virtual class, fill in the specific methods when you know what type of logfile you are dealing with. More...

Inheritance diagram for python.trfValidation.logFileReport:
Collaboration diagram for python.trfValidation.logFileReport:

Public Types

typedef HLT::TypeInformation::for_each_type_c< typenameEDMLIST::map, my_functor, my_result<>, my_arg< HLT::TypeInformation::get_cont, CONTAINER > >::type result

Public Member Functions

 __init__ (self, logfile=None, msgLimit=10, msgDetailLevel=stdLogLevels['ERROR'])
 resetReport (self)
 scanLogFile (self)
 worstError (self)
 firstError (self)
 __str__ (self)

Protected Attributes

list _logfile = [logfile, ]
 _msgLimit = msgLimit
 _msgDetails = msgDetailLevel
 _re = None

Detailed Description

A class holding report information from scanning a logfile This is pretty much a virtual class, fill in the specific methods when you know what type of logfile you are dealing with.

Definition at line 176 of file trfValidation.py.

Member Typedef Documentation

◆ result

Definition at line 90 of file EDM_MasterSearch.h.

Constructor & Destructor Documentation

◆ __init__()

python.trfValidation.logFileReport.__init__ ( self,
logfile = None,
msgLimit = 10,
msgDetailLevel = stdLogLevels['ERROR'] )

Definition at line 177 of file trfValidation.py.

177 def __init__(self, logfile=None, msgLimit=10, msgDetailLevel=stdLogLevels['ERROR']):
178
179 # We can have one logfile or a set
180 if isinstance(logfile, str):
181 self._logfile = [logfile, ]
182 else:
183 self._logfile = logfile
184
185 self._msgLimit = msgLimit
186 self._msgDetails = msgDetailLevel
187 self._re = None
188
189 if logfile:
190 self.scanLogFile(logfile)
191

Member Function Documentation

◆ __str__()

python.trfValidation.logFileReport.__str__ ( self)

Definition at line 204 of file trfValidation.py.

204 def __str__(self):
205 return ''
206
207

◆ firstError()

python.trfValidation.logFileReport.firstError ( self)

Reimplemented in python.trfValidation.athenaLogFileReport.

Definition at line 201 of file trfValidation.py.

201 def firstError(self):
202 pass
203

◆ resetReport()

python.trfValidation.logFileReport.resetReport ( self)

Reimplemented in python.trfValidation.athenaLogFileReport, and python.trfValidation.scriptLogFileReport.

Definition at line 192 of file trfValidation.py.

192 def resetReport(self):
193 pass
194

◆ scanLogFile()

python.trfValidation.logFileReport.scanLogFile ( self)

Reimplemented in python.trfValidation.athenaLogFileReport, and python.trfValidation.scriptLogFileReport.

Definition at line 195 of file trfValidation.py.

195 def scanLogFile(self):
196 pass
197

◆ worstError()

python.trfValidation.logFileReport.worstError ( self)

Reimplemented in python.trfValidation.athenaLogFileReport, and python.trfValidation.scriptLogFileReport.

Definition at line 198 of file trfValidation.py.

198 def worstError(self):
199 pass
200

Member Data Documentation

◆ _logfile

list python.trfValidation.logFileReport._logfile = [logfile, ]
protected

Definition at line 181 of file trfValidation.py.

◆ _msgDetails

python.trfValidation.logFileReport._msgDetails = msgDetailLevel
protected

Definition at line 186 of file trfValidation.py.

◆ _msgLimit

python.trfValidation.logFileReport._msgLimit = msgLimit
protected

Definition at line 185 of file trfValidation.py.

◆ _re

python.trfValidation.logFileReport._re = None
protected

Definition at line 187 of file trfValidation.py.


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