The StructuredTrace type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
StructuredTrace(Boolean) |
Initializes a new instance of
the StructuredTrace class.
| |
StructuredTrace(BooleanSwitch) |
Initializes a new instance of
the StructuredTrace class.
| |
StructuredTrace(BooleanSwitch, String) |
Initializes a new instance of
the StructuredTrace class.
|
Methods
Name | Description | |
---|---|---|
Bracket |
Brackets the specified value with a hyphen on either side.
| |
Enter |
Traces entering the specified method name, and increases the indentation.
| |
EnterEventHandler |
Traces entering an event handler for a specific GUI component,
and increases the indentation.
| |
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
Leave |
Traces leaving the specified method name, and decreases the indentation.
| |
LeaveEventHandler |
Traces leaving an event handler for a specific GUI component,
and decreases the indentation.
| |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
Start |
Record the start of an application with a distinctive line in the log file,
consisting of a repeated sequence of SessionMarkerChar characters.
| |
ToString | (Inherited from Object.) | |
WriteLine |
Writes the line (if messages are enabled), preceded with
the thread name and the current date/time.
|
Properties
Name | Description | |
---|---|---|
BracketBarSize |
Gets or sets the size of the bracket bar used by the Bracket(String) method.
| |
ClassNameLength |
Gets or sets the length of the class name.
| |
EnterLabel |
Gets or sets the label used by the Enter
and EnterEventHandler(Object) methods.
| |
EventLabel |
Gets or sets the event handler label.
| |
IndentSize |
Gets or sets the size of the indent used to show method nesting.
| |
LeaveLabel |
Gets or sets the label used by the Leave
and LeaveEventHandler(Object) methods.
| |
SessionMarkerChar |
Gets or sets the session marker char used by the Start method.
| |
SessionMarkerLength |
Gets or sets the length of the session marker used by the Start method.
| |
ThreadNameLength |
Gets or sets the length of the thread name.
|
See Also