Constructor LogStream
LogStream()
Creates an new LogStream instance with no predefined outputs.
public LogStream()
LogStream(TextWriter)
Creates an new LogStream instance with the given TextWriter object.
public LogStream(TextWriter tw)
Parameters
twTextWriterThe TextWriter instance which this instance will write log to.
LogStream(string)
Creates an new LogStream instance with the given relative or absolute file path.
public LogStream(string filename)
Parameters
filenamestringThe file path where this instance will write log to.
LogStream(string?, TextWriter?)
Creates an new LogStream instance which writes text to an file and an TextWriter.
public LogStream(string? filename, TextWriter? tw)
Parameters
filenamestringThe file path where this instance will write log to.
twTextWriterThe text writer which this instance will write log to.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語