PyFoam.LogAnalysis.ContextLineAnalyzer module¶
Line analyzer that finds data n lines after a matching line
-
class
PyFoam.LogAnalysis.ContextLineAnalyzer.ContextLineAnalyzer(trigger, nr=1)[source]¶ Bases:
PyFoam.LogAnalysis.LogLineAnalyzer.LogLineAnalyzerBase class for analyzers that work with a context
-
__init__(trigger, nr=1)[source]¶ Parameters: - trigger – The regular expression that has to match before data is collected
- nr – The number of lines after the match that data is collected
-
__module__= 'PyFoam.LogAnalysis.ContextLineAnalyzer'¶
-