protected virtual IClientTracerBridge InitCallback(IClientTracerBridge bridge) { bridge.StartSpanCallback = result => Callback(nameof(bridge.StartSpanCallback), result); bridge.LogCallback = result => Callback(nameof(bridge.LogCallback), result); bridge.SetTagsCallback = result => Callback(nameof(bridge.SetTagsCallback), result); bridge.FinishSpanCallback = result => Callback(nameof(bridge.FinishSpanCallback), result); return(bridge); }
public TraceHub(IClientTracerBridge clientTracerBridge) { _clientTracerBridge = InitCallback(clientTracerBridge); }