Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger wraps a go-kit logger instance in a Jaeger client compatible one.
func NewLogger ¶
func NewLogger(kitlogger log.Logger, options ...LoggerOption) *Logger
NewLogger creates a new Jaeger client logger from a go-kit one.
type LoggerOption ¶
type LoggerOption func(*Logger)
LoggerOption sets a parameter for the Logger.
func MessageKey ¶
func MessageKey(key string) LoggerOption
MessageKey sets the key for the actual log message. By default, it's "msg".
Click to show internal directories.
Click to hide internal directories.