Initializes a writer with the specified stream and encoding.
public StreamLogWriter(Stream stream, Encoding encoding, bool ownsStream)
The destination stream.
The text encoding used for output.
true to dispose stream when this writer is disposed; otherwise false.