LogWriterBase Class
Namespace: Rebex
Assembly: Rebex.Common.dll (version 7.0.9147)
Common base class for log writers. A derived class must override either the Write
Syntax
public abstract class LogWriterBase : ILogWriter, IDisposable
Inherited Members
Constructors
Name | Description |
---|---|
Log |
Creates a new instance of Log |
Properties
Name | Description |
---|---|
Is |
Get a value indicating whether the log writer is closed. |
Level | Gets or sets the log level - only log messages with log level equal to or greater than the specified one. |
Methods
Name | Description |
---|---|
Close() | Closes the log writer. |
Dispose() | Disposes the object. |
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. This method is only called by Write(Log |