TextWriterAppender Constructor (ILayout, TextWriter)Apache log4net™ SDK Documentation
Initializes a new instance of the TextWriterAppender class and sets the output destination to the specified OnlineStreamWriter.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

[ObsoleteAttribute("Instead use the default constructor and set the Layout & Writer properties")]
public TextWriterAppender(
	ILayout layout,
	TextWriter writer
)
Remarks

The OnlineTextWriter must have been previously opened.
Remarks

Obsolete constructor.

See Also