Methods
- Assert(Boolean) static Checks for a condition; if the condition is false, displays a message box that shows the call stack.
-
Assert(Boolean,
String) static Checks for a condition; if the condition is false, outputs a specified message and displays a message box that shows the call stack. -
Assert(Boolean,
String, static Checks for a condition; if the condition is false, outputs two specified messages and displays a message box that shows the call stack.String) -
Assert(Boolean,
String, static Checks for a condition; if the condition is false, outputs two messages (simple and formatted) and displays a message box that shows the call stack.String, Object[]) - Close() static Flushes the output buffer and then calls the Close method on each of the Listeners.
- Fail(String) static Emits the specified error message.
-
Fail(String,
String) static Emits an error message and a detailed error message. - Flush() static Flushes the output buffer and causes buffered data to write to the Listeners collection.
- Indent() static Increases the current IndentLevel by one.
- Print(String) static Writes a message followed by a line terminator to the trace listeners in the Listeners collection.
-
Print(String,
Object[]) static Writes a formatted string followed by a line terminator to the trace listeners in the Listeners collection. - Unindent() static Decreases the current IndentLevel by one.
- Write(Object) static Writes the value of the object's ToString method to the trace listeners in the Listeners collection.
-
Write(Object,
String) static Writes a category name and the value of the object's ToString method to the trace listeners in the Listeners collection. - Write(String) static Writes a message to the trace listeners in the Listeners collection.
-
Write(String,
String) static Writes a category name and message to the trace listeners in the Listeners collection. -
Write
If(Boolean, static Writes the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true.Object) -
Write
If(Boolean, static Writes a category name and the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true.Object, String) -
Write
If(Boolean, static Writes a message to the trace listeners in the Listeners collection if a condition is true.String) -
Write
If(Boolean, static Writes a category name and message to the trace listeners in the Listeners collection if a condition is true.String, String) -
Write
Line(Object) static Writes the value of the object's ToString method to the trace listeners in the Listeners collection. -
Write
Line(Object, static Writes a category name and the value of the object's ToString method to the trace listeners in the Listeners collection.String) -
Write
Line(String) static Writes a message followed by a line terminator to the trace listeners in the Listeners collection. -
Write
Line(String, static Writes a formatted message followed by a line terminator to the trace listeners in the Listeners collection.Object[]) -
Write
Line(String, static Writes a category name and message to the trace listeners in the Listeners collection.String) -
Write
Line static Writes the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true.If(Boolean, Object) -
Write
Line static Writes a category name and the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true.If(Boolean, Object, String) -
Write
Line static Writes a message to the trace listeners in the Listeners collection if a condition is true.If(Boolean, String) -
Write
Line static Writes a category name and message to the trace listeners in the Listeners collection if a condition is true.If(Boolean, String, String)
Properties
-
Auto
Flush static Gets or sets a value indicating whether Flush should be called on the Listeners after every write. -
Indent
Level static Gets or sets the indent level. -
Indent
Size static Gets or sets the number of spaces in an indent.