TeeLogWriter Class
Namespace: Rebex
Assembly: Rebex.Common.dll (version 7.0.9313)
Log writer acting as a container that writes log messages to all inner writers.
Syntax
public class TeeLogWriter : ILogWriter, IDisposable
Inherited Members
Constructors
| Name | Description |
|---|---|
| TeeLogWriter(ILogWriter[]) | Creates a new instance of a tee log writer over given set of individual |
| TeeLogWriter(IEnumerable<ILogWriter>) | Creates a new instance of a tee log writer over given set of individual |
Properties
| Name | Description |
|---|---|
| Level | A cumulative log level. |
Methods
| Name | Description |
|---|---|
| Dispose() | Implements the interface method IDisposable.Dispose Use this method to explicitly release all resources hold by the inner writers. |
| Write(LogLevel, Type, Int32, String, String) | Write a message into all inner writers. |
| Write(LogLevel, Type, Int32, String, String, Byte[], Int32, Int32) | Write a message and data block into all inner writers. |