log4net SDK Reference

TextWriterAppender Constructor (ILayout, Stream)

NOTE: This constructor is now obsolete.

Instead use the default constructor and set the Layout & Writer properties


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

[Visual Basic]
Overloads Public Sub New( _
   ByVal layout As ILayout, _
   ByVal os As Stream _
)
[C#]
public TextWriterAppender(
   ILayout layout,
   Stream os
);

Parameters

layout
The layout to use with this appender.
os
The Stream to output to.

Remarks

Obsolete constructor.

See Also

TextWriterAppender Class | log4net.Appender Namespace | TextWriterAppender Constructor Overload List