Table of Contents

Constructor LogStream

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

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

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.

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.

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.