generateTracingContext function

TracingContext generateTracingContext(
  1. bool sampled
)

Generate a tracing context

Implementation

TracingContext generateTracingContext(bool sampled) {
  return TracingContext(_generateTraceId(), _generateTraceId(), null, sampled);
}