log4net SDK Reference |

# TextWriterAdapter Constructor

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

[Visual Basic]
Protected Sub New( _
ByVal writer As TextWriter _
)
[C#]
protected TextWriterAdapter(
TextWriter writer
);

#### Parameters

writer
  The TextWriter to forward to

#### Remarks

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

#### See Also

TextWriterAdapter Class | log4net.Util Namespace