PyFoam.LogAnalysis.TriggerLineAnalyzer module

Analyze Line for an expression and execute a list of functions

class PyFoam.LogAnalysis.TriggerLineAnalyzer.TriggerLineAnalyzer(expr)[source]

Bases: LogLineAnalyzer

Parses the line for a regular expression and when it occurs it executes a list of functions

__annotations__ = {}
__init__(expr)[source]

Constructs the analyzer

__module__ = 'PyFoam.LogAnalysis.TriggerLineAnalyzer'
addFunction(f)[source]
doAnalysis(line)[source]

Analyze a line

line - the line to be analyzed

This method carries the main functionality in the sub-classes