Enriches log events with the correlation ID from AsyncLocalStorage. Zero-cost when no context is active — simply returns the event unchanged.
AsyncLocalStorage
an enricher that adds { CorrelationId: '...' } if available
{ CorrelationId: '...' }
Enriches log events with the correlation ID from
AsyncLocalStorage. Zero-cost when no context is active — simply returns the event unchanged.