Table of Contents

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

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.