TextWriterAppender Writer Property Apache log4net™ SDK Documentation
Sets the OnlineTextWriter where the log output will go.

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

public virtual TextWriter Writer { get; set; }

Property Value

Type: OnlineTextWriter
Remarks

The specified OnlineTextWriter must be open and writable.

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

Note: Logging to an unopened OnlineTextWriter will fail.

See Also