Sets the TextWriter where the log output will go.
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.
TextWriterAppender Class | log4net.Appender Namespace