child method
A child of this context: same trace, a new span.
Implementation
TraceContext child({Random? random}) => TraceContext(
traceId: traceId,
spanId: _hex(random ?? _random, 8),
sampled: sampled,
);
A child of this context: same trace, a new span.
TraceContext child({Random? random}) => TraceContext(
traceId: traceId,
spanId: _hex(random ?? _random, 8),
sampled: sampled,
);