package log
import "github.com/uber/jaeger-client-go/log"
Index ¶
Variables ¶
var NullLogger = &nullLogger{}
NullLogger is implementation of the Logger interface that delegates to default `log` package
var StdLogger = &stdLogger{}
StdLogger is implementation of the Logger interface that delegates to default `log` package
Types ¶
type Logger ¶
type Logger interface { // Error logs a message at error priority Error(msg string) // Infof logs a message at info priority Infof(msg string, args ...interface{}) }
Logger provides an abstract interface for logging from Reporters. Applications can provide their own implementation of this interface to adapt reporters logging to whatever logging library they prefer (stdlib log, logrus, go-logging, etc).
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
log/zap |
- Version
- v2.1.1+incompatible
- Published
- Feb 21, 2017
- Platform
- darwin/amd64
- Imports
- 1 packages
- Last checked
- 58 seconds ago –
Tools for package owners.