A LogListener implementation redirecting its output to a TextWriter.
override void OnLog(ILogMessage logMessage)
Called when a log occurred.
override void Flush()
Flush the log, method to be implemented in a subclass.
TextWriterLogListener(TextWriter logWriter)
Initializes a new instance of the TextWriterLogListener class.
TextWriterLogListener(Stream logStream)
Initializes a new instance of the TextWriterLogListener class.