TraceLogWriter Class
Namespace: Rebex
Assembly: Rebex.Common.dll (version 7.0.9147)
Trace-based log writer that writes log messages to all trace listeners.
Syntax
public class TraceLogWriter : LogWriterBase, ILogWriter, IDisposable
Inherited Members
Remarks
For general information about NET trace, see for instance Microsoft's trace listeners.
Constructors
Name | Description |
---|---|
Trace |
Creates a new instance of trace log writer based on the default "Info" log level. |
Trace |
Creates a new instance of trace log writer based on the specified log level. |
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.
Inherited from Log |
Methods
Name | Description |
---|---|
Close() | Closes the log writer.
Inherited from Log |
Dispose() | Disposes the object.
Inherited from Log |
Dispose(Boolean) | Clean up any resources being used. |
Write(Log |
Writes a message into the log.
Inherited from Log |
Write(Log |
Writes a message and data block into the log.
Inherited from Log |
Write |
Appends the specified message text to the trace listeners log. This method is only called by Write(Log |