TextWriterAdapter Constructor | Apache log4net™ SDK Documentation

Create an instance of TextWriterAdapter that forwards all messages to a TextWriter.

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    protected TextWriterAdapter(
    	TextWriter writer
    )

    Protected Sub New (
    	writer As TextWriter
    )

    protected:
    TextWriterAdapter(
    	TextWriter^ writer
    )

    new :
            writer : TextWriter -> TextWriterAdapter

#### Parameters

writer
  Type: System.IO
  TextWriter
  The TextWriter to forward to

Remarks

Create an instance of TextWriterAdapter that forwards all messages to a TextWriter.

See Also

#### Reference

TextWriterAdapter Class
log4net.Util Namespace