ConsoleLogWriter Class
Namespace: Rebex
Assembly: Rebex.Common.dll (version 7.0.9147)
Console-based log writer that writes log messages to the console.
Syntax
public class ConsoleLogWriter : LogWriterBase, ILogWriter, IDisposable
Inherited Members
Constructors
Name | Description |
---|---|
Console |
Creates a new instance of console log writer with a log level of Info. |
Console |
Creates a new instance of console log writer with the specified log level. |
Properties
Name | Description |
---|---|
Is |
Get a value indicating whether the log writer is closed.
Inherited from Log |
Level | Gets or sets the log level - only log messages with log level equal to or greater than the specified one.
Inherited from Log |
Use |
Gets or sets a value that indicates whether to use console colors. |
Methods
Name | Description |
---|---|
Close() | Closes the log writer.
Inherited from Log |
Dispose() | Disposes the object.
Inherited from Log |
Dispose(Boolean) | Releases unmanaged and managed resources (depending on the scenario).
If |
Write(Log |
Writes a message into the log. |
Write(Log |
Writes a message and data block into the log. |
Write |
Appends the specified message text into a text-based log. |