Constructor TextWriterLogWriter
TextWriterLogWriter(TextWriter)
Initializes a new instance of the LogWriter.TextWriterLogWriter class using the specified TextWriter.
public TextWriterLogWriter(TextWriter textWriter)
Parameters
textWriterTextWriterThe TextWriter instance to which log messages will be written. Cannot be null.
Exceptions
- ArgumentNullException
Thrown if
textWriteris null.