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
Application
The name of the application.
public const string Application = "Application"
Field Value
Category
The Arc4u message category, see MessageCategory.
public const string Category = "Category"
Field Value
Class
The full name of the type that emits the log entry.
public const string Class = "SourceContext"
Field Value
Identity
The identity of the current user.
public const string Identity = "Identity"
Field Value
MethodName
The name of the calling method.
public const string MethodName = "Method"
Field Value
ProcessId
The id of the current process.
public const string ProcessId = "Pid"
Field Value
Stacktrace
The stack trace of the log entry.
public const string Stacktrace = "Stacktrace"
Field Value
ThreadId
The id of the current managed thread.
public const string ThreadId = "Tid"