# 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
  object
  LogExecutionContext

Inherited Members
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

## 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