Sisk

Property

PrefixedLogStream.PrefixFunction

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

PrefixFunction #

Gets or sets a function that returns the prefix to be added to log messages.

C#
public Func<string?> PrefixFunction { get; set; }

Property Value #

Func<string?>

Remarks #

The assigned function should return the desired prefix as a string. If the function returns null, it is treated as an empty string in most scenarios.

Type to search the documentation and the API reference.