summaryrefslogtreecommitdiff
path: root/vendor/github.com/uber/jaeger-client-go/tracer_options.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/uber/jaeger-client-go/tracer_options.go')
-rw-r--r--vendor/github.com/uber/jaeger-client-go/tracer_options.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/github.com/uber/jaeger-client-go/tracer_options.go b/vendor/github.com/uber/jaeger-client-go/tracer_options.go
index f016484b9..f0734b772 100644
--- a/vendor/github.com/uber/jaeger-client-go/tracer_options.go
+++ b/vendor/github.com/uber/jaeger-client-go/tracer_options.go
@@ -21,6 +21,7 @@ import (
"github.com/uber/jaeger-client-go/internal/baggage"
"github.com/uber/jaeger-client-go/internal/throttler"
+ "github.com/uber/jaeger-client-go/log"
)
// TracerOption is a function that sets some option on the tracer
@@ -42,7 +43,7 @@ func (tracerOptions) Metrics(m *Metrics) TracerOption {
// Logger creates a TracerOption that gives the tracer a Logger.
func (tracerOptions) Logger(logger Logger) TracerOption {
return func(tracer *Tracer) {
- tracer.logger = logger
+ tracer.logger = log.DebugLogAdapter(logger)
}
}