OpenTAP 9.24
API Reference
|
Simple TraceListener which outputs data to a TextWriter. More...
Public Member Functions | |
TextWriterTraceListener (string filename) | |
Creates a new TextWriterTraceListener writing to the given filename. | |
TextWriterTraceListener (Stream stream) | |
Creates a new TextWriterTraceListener writing to the given stream. | |
override void | Write (string message) |
Writes a string to the current Writer. | |
override void | WriteLine (string message) |
Writes a string including a newline to the current Writer. | |
override void | Flush () |
Flushes the log system and the current Writer. | |
void | Dispose () |
Frees up the writer. | |
Public Member Functions inherited from OpenTap.TraceListener | |
virtual void | TraceEvents (IEnumerable< Event > events) |
Receives all log messages. The virtual method simply calls TraceEvent(string, LogEventType, int, string) directly. | |
virtual void | TraceEvent (string source, LogEventType eventType, int id, string format) |
Empty TraceEvent method. | |
virtual void | TraceEvent (string source, LogEventType eventType, int id, string format, params object[] args) |
Empty TraceEvent method. | |
Properties | |
TextWriter | Writer [getset] |
The writer that is used as the output. | |
Simple TraceListener which outputs data to a TextWriter.
OpenTAP 9.24 API built Tue Apr 30 2024 13:44:42