Sisk

Method

LogStreamEntry.ToString

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

ToString() #

Returns a string representation of the log entry in the default format.

C#
public override string ToString()

Returns #

string

A string containing the moment, level, and message.

ToString(string?, IFormatProvider?) #

Returns a string representation of the log entry using the specified format string and format provider.

C#
public string ToString(string? format, IFormatProvider? formatProvider)

Parameters #

format string?

A format string containing placeholders (%moment, %level, %message).

formatProvider IFormatProvider?

An object that supplies culture-specific formatting information.

Returns #

string

A formatted string representation of the log entry.

Type to search the documentation and the API reference.