HierarchicalLogger Methods |
The HierarchicalLogger type exposes the following members.
Name | Description | |
---|---|---|
Dispose |
Finishes logging for this sub-task and writes its output to either the
log file or its parent sub-task.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Pop |
Finishes logging for this sub-task and writes its output to either the
log file or its parent sub-task.
| |
Push |
Begins a new sub-task. Multiple sub-tasks can log in parallel and their
output will be serialized in the log file. In other words, the log file will contain
the entire output from one sub-task followed by the entire output from the next sub-task.
You must call Pop or Dispose on the returned
instance when the sub-task completes.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WriteLine(String) |
Writes a line of text to the log.
| |
WriteLine(String, Object) |
Writes a line of text to the log.
|