Exemple #1
0
 internal TracerDecoration(
     OnSpanLog onSpanLog,
     OnSpanSetTag onSpanSetTag,
     OnSpanFinished onSpanFinished,
     OnSpanStarted onSpanStarted,
     OnSpanActivated onSpanActivated,
     OnSpanStartedWithFinishCallback onSpanStartedWithFinishCallback)
 {
     this.onSpanLog       = onSpanLog;
     this.onSpanSetTag    = onSpanSetTag;
     this.onSpanFinished  = onSpanFinished;
     this.onSpanStarted   = onSpanStarted;
     this.onSpanActivated = onSpanActivated;
     this.onSpanStartedWithFinishCallback = onSpanStartedWithFinishCallback;
 }
Exemple #2
0
 public TracerDecoratorBuilder OnSpanLog(OnSpanLog onSpanLog)
 {
     _onSpanLogs.Add(onSpanLog);
     return(this);
 }