Table of Contents

Class LoggingConstants

Namespace
Arc4u.Diagnostics
Assembly
Arc4u.Diagnostics.dll

Reserved names of the properties used by the Arc4u logger. They cannot be used as custom property keys. Most are added by the logger to each entry; ActivityId is only present when there is a current Activity, Identity only when an IAddPropertiesToLog provider supplies it and Stacktrace only when requested.

public static class LoggingConstants
Inheritance
LoggingConstants
Inherited Members

Fields

ActivityId

The trace id (TraceId) of the current Activity, shared by all the services taking part in the same distributed trace.

public const string ActivityId = "ActivityId"

Field Value

string

Application

The name of the application.

public const string Application = "Application"

Field Value

string

Category

The Arc4u message category, see MessageCategory.

public const string Category = "Category"

Field Value

string

Class

The full name of the type that emits the log entry.

public const string Class = "SourceContext"

Field Value

string

Identity

The identity of the current user.

public const string Identity = "Identity"

Field Value

string

MethodName

The name of the calling method.

public const string MethodName = "Method"

Field Value

string

ProcessId

The id of the current process.

public const string ProcessId = "Pid"

Field Value

string

Stacktrace

The stack trace of the log entry.

public const string Stacktrace = "Stacktrace"

Field Value

string

ThreadId

The id of the current managed thread.

public const string ThreadId = "Tid"

Field Value

string