PyFoam.Execution.AnalyzedWatcher module
Watches output and analyzes it
- class PyFoam.Execution.AnalyzedWatcher.AnalyzedWatcher(filename, analyzer, silent=False, tailLength=1000, sleep=0.1)[source]
Bases:
BasicWatcher,AnalyzedCommon- __annotations__ = {}
- __init__(filename, analyzer, silent=False, tailLength=1000, sleep=0.1)[source]
- Parameters:
analyzer – analyzer
filename – name of the logfile to watch
silent – if True no output is sent to stdout
tailLength – number of bytes at the end of the fail that should be output.
Because data is output on a per-line-basis :param sleep: interval to sleep if no line is returned
- __module__ = 'PyFoam.Execution.AnalyzedWatcher'