Creates a log enricher that attaches the active span's
TraceId, SpanId, and TraceFlags to every log event.
Reads from the OpenTelemetry context via @opentelemetry/api,
so it works with any tracer provider — including the one
configured by import('../setupOtel.js').setupOtel.
Creates a log enricher that attaches the active span's
TraceId,SpanId, andTraceFlagsto every log event.Reads from the OpenTelemetry context via
@opentelemetry/api, so it works with any tracer provider — including the one configured by import('../setupOtel.js').setupOtel.No-op when no span is active.