log4net SDK Reference |

# TextWriterAppender Constructor

Initializes a new instance of the TextWriterAppender class.

#### Overload List

Initializes a new instance of the TextWriterAppender class.

> public TextWriterAppender();

Obsolete. Initializes a new instance of the TextWriterAppender class and sets the output destination to a new StreamWriter initialized with the specified Stream.

> public TextWriterAppender(ILayout,Stream);

Obsolete. Initializes a new instance of the TextWriterAppender class and sets the output destination to the specified StreamWriter.

> public TextWriterAppender(ILayout,TextWriter);

#### See Also

TextWriterAppender Class | log4net.Appender Namespace