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