class LogContextScopeFactory

Properties

protected bool $enabled
protected string $traceIdKey
protected string $spanIdKey

Methods

__construct(Repository $config)

Create a log-context scope factory.

activate(SpanContextInterface $spanContext)

Activate correlation for one span context.

Details

at line 21
__construct(Repository $config)

Create a log-context scope factory.

Parameters

Repository $config

at line 31
LogContextScope|null activate(SpanContextInterface $spanContext)

Activate correlation for one span context.

Parameters

SpanContextInterface $spanContext

Return Value

LogContextScope|null