Dynamic Configuration Refactoring
This commit is contained in:
parent
d3ae88f108
commit
a09dfa3ce1
452 changed files with 21023 additions and 9419 deletions
15
old/middlewares/tracing/jaeger/logger.go
Normal file
15
old/middlewares/tracing/jaeger/logger.go
Normal file
|
@ -0,0 +1,15 @@
|
|||
package jaeger
|
||||
|
||||
import "github.com/containous/traefik/old/log"
|
||||
|
||||
// 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...)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue