public IScope WithSpan(ISpan span) { if (span == null) { throw new ArgumentNullException(nameof(span)); } return(CurrentSpanUtils.WithSpan(span, false)); }
public IScope StartScopedSpan() { return(CurrentSpanUtils.WithSpan(StartSpan(), true)); }
public IScope StartScopedSpan(out ISpan currentSpan) { currentSpan = this.StartSpan(); return(CurrentSpanUtils.WithSpan(currentSpan, true)); }