ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
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 Member Functions

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

Private Attributes

 _logfile
 
 _msgLimit
 
 _msgDetails
 
 _re
 

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.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented in python.trfValidation.scriptLogFileReport.

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__()

def python.trfValidation.logFileReport.__str__ (   self)

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

Definition at line 204 of file trfValidation.py.

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

◆ firstError()

def python.trfValidation.logFileReport.firstError (   self)

Definition at line 201 of file trfValidation.py.

201  def firstError(self):
202  pass
203 

◆ resetReport()

def python.trfValidation.logFileReport.resetReport (   self)

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

Definition at line 192 of file trfValidation.py.

192  def resetReport(self):
193  pass
194 

◆ scanLogFile()

def python.trfValidation.logFileReport.scanLogFile (   self)

Definition at line 195 of file trfValidation.py.

195  def scanLogFile(self):
196  pass
197 

◆ worstError()

def python.trfValidation.logFileReport.worstError (   self)

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

Definition at line 198 of file trfValidation.py.

198  def worstError(self):
199  pass
200 

Member Data Documentation

◆ _logfile

python.trfValidation.logFileReport._logfile
private

Definition at line 181 of file trfValidation.py.

◆ _msgDetails

python.trfValidation.logFileReport._msgDetails
private

Definition at line 186 of file trfValidation.py.

◆ _msgLimit

python.trfValidation.logFileReport._msgLimit
private

Definition at line 185 of file trfValidation.py.

◆ _re

python.trfValidation.logFileReport._re
private

Definition at line 187 of file trfValidation.py.


The documentation for this class was generated from the following file:
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18