Refactor debug/trace ready for Jaeger
This commit is contained in:
@@ -25,14 +25,14 @@ type Debug struct {
|
||||
// the stats collector
|
||||
stats stats.Stats
|
||||
// the tracer
|
||||
trace trace.Trace
|
||||
trace trace.Tracer
|
||||
}
|
||||
|
||||
func newDebug() *Debug {
|
||||
return &Debug{
|
||||
log: log.DefaultLog,
|
||||
stats: stats.DefaultStats,
|
||||
trace: trace.DefaultTrace,
|
||||
trace: trace.DefaultTracer,
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user