traefik/old/middlewares/tracing/jaeger/logger.go

16 lines
408 B
Go
Raw Normal View History

2018-06-28 15:36:03 +00:00
package jaeger
2018-11-14 09:18:03 +00:00
import "github.com/containous/traefik/old/log"
2018-06-28 15:36:03 +00:00
// jaegerLogger is an implementation of the Logger interface that delegates to traefik log
type jaegerLogger struct{}
func (l *jaegerLogger) Error(msg string) {
log.Errorf("Tracing jaeger error: %s", msg)
}
// Infof logs a message at debug priority
func (l *jaegerLogger) Infof(msg string, args ...interface{}) {
log.Debugf(msg, args...)
}