Libraries
    Preparing search index...

    Function correlationIdEnricher

    • Enriches log events with the correlation ID from AsyncLocalStorage. Zero-cost when no context is active — simply returns the event unchanged.

      Returns Enricher

      an enricher that adds { CorrelationId: '...' } if available