LogContextScope
final class LogContextScope
Methods
static LogContextScope|null
activate(bool $enabled, SpanContextInterface $spanContext, string $traceIdKey, string $spanIdKey)
Activate trace correlation in Hypervel's logging context.
void
close()
Restore the previous logging context.
Details
at line 31
static LogContextScope|null
activate(bool $enabled, SpanContextInterface $spanContext, string $traceIdKey, string $spanIdKey)
Activate trace correlation in Hypervel's logging context.
at line 62
void
close()
Restore the previous logging context.