Table of Contents

Class LogConstants

Namespace
ToSic.Lib.Logging
Assembly
ToSic.Lib.Core.dll
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class LogConstants
Inheritance
LogConstants

Fields

ErrorPrefix

public const string ErrorPrefix = "ERROR: "

Field Value

string

FullNameUnknown

public const string FullNameUnknown = "tdo.unknwn"

Field Value

string

LiveStoreMaxItems

public const int LiveStoreMaxItems = 500

Field Value

int

LiveStoreSegmentSize

Size of a segment in the log history.

public const int LiveStoreSegmentSize = 100

Field Value

int

NameMaxLength

Max length of the name part after the scope prefix.

public const int NameMaxLength = 6

Field Value

int

NameUnknown

Name to use in situations where the name wasn't provided.

public const string NameUnknown = "unknwn"

Field Value

string

ScopeMaxLength

Max length of the scope (prefix) in the name.

public const int ScopeMaxLength = 3

Field Value

int

StoreWarningsPrefix

Special prefix in the log history to ensure warnings can be extracted easily to show in a consolidated way.

public const string StoreWarningsPrefix = "warnings-"

Field Value

string

WarningPrefix

public const string WarningPrefix = "WARNING: "

Field Value

string