Documentation
¶
Index ¶
- func WithLogger(ctx context.Context, logger *Logger) context.Context
- type LogLevel
- type Logger
- func (l *Logger) Debug(msg string, keyvals ...interface{})
- func (l *Logger) Error(msg string, keyvals ...interface{})
- func (l *Logger) GetKitLogger() kitlog.Logger
- func (l *Logger) Info(msg string, keyvals ...interface{})
- func (l *Logger) Warn(msg string, keyvals ...interface{})
- func (l *Logger) With(keyvals ...interface{}) *Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger wraps the go-kit logger with additional convenience methods
func FromContext ¶
FromContext retrieves a logger from the context
func (*Logger) GetKitLogger ¶
GetKitLogger returns the underlying go-kit logger for advanced usage
Click to show internal directories.
Click to hide internal directories.