Table of Contents

Class TextLogWriter

Namespace
Backdash.Core
Assembly
Backdash.dll

Base implementation of ILogWriter for any textWriter.

public abstract class TextLogWriter : ILogWriter, IDisposable
Inheritance
TextLogWriter
Implements
Derived
Inherited Members

Constructors

TextLogWriter()

protected TextLogWriter()

Properties

textWriter

Current TextWriter

protected abstract TextWriter textWriter { get; }

Property Value

TextWriter

Methods

Dispose()

public void Dispose()

Dispose(bool)

Releases all resources currently used by this TextLogWriter instance.

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

true if this method is being invoked by the Dispose() method, otherwise false.

Write(LogLevel, char[], int)

Write chars into an output.

public void Write(LogLevel level, char[] chars, int size)

Parameters

level LogLevel

Current LogLevel level.

chars char[]

Char buffer array containing the log message

size int

Number of chars of characters to read from chars