ConsoleLogger Class |
Namespace: ShellBoost.Core.Utilities
public class ConsoleLogger : ILogger
The ConsoleLogger type exposes the following members.
Name | Description | |
---|---|---|
ConsoleLogger |
Initializes a new instance of the ConsoleLogger class.
|
Name | Description | |
---|---|---|
AddCounter |
Gets or sets a value indicating whether to add a counter in front of calls.
| |
AddThreadId |
Gets or sets a value indicating whether to add the thread identifier to logs.
| |
AddUnmanagedThreadId |
Gets or sets a value indicating whether to add the unmanaged thread identifier to logs.
| |
Counter |
Gets or sets a counter to use.
| |
MaximumTraceLevel |
Gets or sets the maximum trace level to output to the console.
|
Name | Description | |
---|---|---|
Log |
Logs a value at a specified trace level.
| |
ResetColor |
Sets the foreground and background colors to their defaults.
| |
SetForegroundColor |
Sets the foreground color.
| |
Write |
Writes the text representation of the specified object.
| |
WriteLine(String) |
Writes the specified string value, followed by the current line terminator.
| |
WriteLine(Object, ConsoleColor, NullableConsoleColor) |
Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream.
|