Documentation
¶
Index ¶
- func Debug(ctx context.Context, args ...interface{})
- func Debugf(ctx context.Context, str string, args ...interface{})
- func Error(ctx context.Context, args ...interface{})
- func Errorf(ctx context.Context, str string, args ...interface{})
- func Fatal(ctx context.Context, args ...interface{})
- func Fatalf(ctx context.Context, str string, args ...interface{})
- func Info(ctx context.Context, args ...interface{})
- func Infof(ctx context.Context, str string, args ...interface{})
- func Warn(ctx context.Context, args ...interface{})
- func Warnf(ctx context.Context, str string, args ...interface{})
- func WithKV(ctx context.Context, k string, v interface{}) context.Context
- func WithLogger(ctx context.Context, l Logger) context.Context
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface {
Debug(...interface{})
Info(...interface{})
Warn(...interface{})
Error(...interface{})
Fatal(...interface{})
Debugf(string, ...interface{})
Infof(string, ...interface{})
Warnf(string, ...interface{})
Errorf(string, ...interface{})
Fatalf(string, ...interface{})
KV(string, interface{}) Logger
}
Logger is an interface for leveled logging
Click to show internal directories.
Click to hide internal directories.