Class LogExecutionContext
Provides a static context for capturing and accessing logging information during the execution of an application.
public static class LogExecutionContext
- Inheritance
-
LogExecutionContext
- Inherited Members
Remarks
This class serves as a centralized holder for execution-scoped data that can be referenced by logging components throughout the application lifecycle.
Properties
TraceIdentifier
public static string? TraceIdentifier { get; }
Property Value
Methods
TrySetTraceIdentifier(string, bool)
public static bool TrySetTraceIdentifier(string traceIdentifier, bool force = false)