log4net SDK Reference

TextWriterAppender.Writer Property

Sets the TextWriter where the log output will go.

[Visual Basic]
Overridable Public Property Writer As TextWriter
[C#]
public virtual System.IO.TextWriter Writer {get; set;}

Remarks

The specified TextWriter must be open and writable.

The TextWriter will be closed when the appender instance is closed.

Note: Logging to an unopened TextWriter will fail.

See Also

TextWriterAppender Class | log4net.Appender Namespace