Member Description
Close() Closes the listener. Further messages are ignored.
Flush() Flushes all messages to the output.
IndentLevel Gets or sets the indentation level of the messages.
IndentSize Gets or sets the size of an indentation.
Write() Writes a message to the listener but does not continue to the next line.
WriteLine() Writes a message to the listener and moves to the next line.

Table 1: Common TraceListener class members.

Back to Article