TextWriterAppenderWriter Property Apache log4net™ SDK Documentation
Sets the TextWriter where the log output will go.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 4.0

public virtual TextWriter Writer { get; set; }

Property Value

Type: TextWriter

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