Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

TeeLogWriter Class

Namespace: Rebex
Assembly: Rebex.Common.dll (version 7.0.9147)

Log writer acting as a container that writes log messages to all inner writers.

Syntax
public class TeeLogWriter : ILogWriter, IDisposable
Inheritance
Object
TeeLogWriter
Implements
ILogWriter
IDisposable
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Constructors

Name Description
TeeLogWriter(ILogWriter[])

Creates a new instance of a tee log writer over given set of individual writers.

TeeLogWriter(IEnumerable<ILogWriter>)

Creates a new instance of a tee log writer over given set of individual writers.

Properties

Name Description
Level

A cumulative log level.
When getting, it returns the minimum level of inner writers' levels.
When setting, the value is propagated to all inner writers.

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.

In This Article
  • Constructors
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies