A class that listens to trace messages and raises an event when a message occurs.
More...
|
delegate void | LogMessageDelegate (IEnumerable< Event > Events) |
| Delegate for the log messages. More...
|
|
override void | TraceEvents (IEnumerable< Event > events) |
| Invokes the MessageLogged event with the new events. More...
|
|
override void | TraceEvent (string source, LogEventType eventType, int id, string text) |
| Invokes the MessageLogged event with the new event from the legacy TraceEvent system. More...
|
|
| EventTraceListener () |
| Constructor of the EventTraceListener.
|
|
virtual void | TraceEvent (string source, LogEventType eventType, int id, string format, params object[] args) |
| Empty TraceEvent method.
|
|
virtual void | Write (string str) |
| Virtual method to match System.Diagnostics.TraceListener. Might be removed.
|
|
virtual void | WriteLine (string str) |
| Virtual method to match System.Diagnostics.TraceListener. Might be removed.
|
|
virtual void | Flush () |
| Waits until all sent log messages have been processed by this and all other TraceListeners.
|
|
A class that listens to trace messages and raises an event when a message occurs.