Sisk

Constructor

LogStream constructor

Namespace
Sisk.Core.Http
Assembly
Sisk.Core.dll

LogStream() #

Creates an new LogStream instance with no predefined outputs.

C#
public LogStream()

LogStream(TextWriter) #

Creates an new LogStream instance with the given TextWriter object.

C#
public LogStream(TextWriter tw)

Parameters #

tw TextWriter

The TextWriter instance which this instance will write log to.

LogStream(string) #

Creates an new LogStream instance with the given relative or absolute file path.

C#
public LogStream(string filename)

Parameters #

filename string

The 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.

C#
public LogStream(string? filename, TextWriter? tw)

Parameters #

filename string?

The file path where this instance will write log to.

tw TextWriter?

The text writer which this instance will write log to.

Type to search the documentation and the API reference.