TextWriterAppender Constructor (ILayout, Stream)Apache log4netâ„¢ SDK Documentation

Note: This API is now obsolete.

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

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax

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

Parameters

layout
Type: log4net.Layout.ILayout
The layout to use with this appender.
os
Type: System.IO.Stream
The Stream to output to.
Remarks

Obsolete constructor.

See Also

Reference