Table of Contents

Class LogExecutionContext

Namespace
adas_core.Logging
Assembly
adas-core.dll

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

string

Methods

TrySetTraceIdentifier(string, bool)

public static bool TrySetTraceIdentifier(string traceIdentifier, bool force = false)

Parameters

traceIdentifier string
force bool

Returns

bool