A log stream that writes log messages to the console with a specified color.
More...
|
| | ConsoleLogStream (ConsoleColor color, string prefix=null) |
| | Initializes a new instance of the ConsoleLogStream class. More...
|
| |
| override void | Log (ILogSource source, string message) |
| | Logs a message with a source. More...
|
| |
| override void | Log (ILogSource source, string message, Exception error) |
| | Logs a message with a source and an exception. More...
|
| |
| | TextWriterLogStream (TextWriter writer, bool disposeWriter, string prefix=null) |
| | Initializes a new instance of the TextWriterLogStream class. More...
|
| |
| override void | Dispose () |
| | Disposes the TextWriterLogStream instance and optionally disposes the underlying TextWriter. More...
|
| |
| override void | Log (Exception error) |
| | Logs an exception. More...
|
| |
| override void | Log (ILogSource source, string message) |
| | Logs a message with a source. More...
|
| |
| override void | Log (ILogSource source, string message, Exception error) |
| | Logs a message with a source and an exception. More...
|
| |
| override void | Log (string message) |
| | Logs a message. More...
|
| |
| override void | Log (string message, Exception error) |
| | Logs a message with an exception. More...
|
| |
| LogStream | If (bool condition) |
| | Returns self if condition is true. More...
|
| |
| virtual void | Log (ILogSource source, Exception error) |
| | Logs a message with an exception. More...
|
| |
| LogStream | Once (ref bool flag) |
| | Returns self if flag is false and then sets it to true. More...
|
| |
A log stream that writes log messages to the console with a specified color.