Documentation
¶
Index ¶
- Variables
- func Criticalf(ctx context.Context, format string, args ...interface{})
- func Debugf(ctx context.Context, format string, args ...interface{})
- func Errorf(ctx context.Context, format string, args ...interface{})
- func Infof(ctx context.Context, format string, args ...interface{})
- func LoggerFromContext(ctx context.Context) *log.Logger
- func NewContext(ctx context.Context, prefix string) context.Context
- func PrefixFromContext(ctx context.Context) string
- func SetOutput(w io.Writer)
- func Warningf(ctx context.Context, format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var LoggerContextKey = &contextKey{"logger"}
View Source
var PrefixContextKey = &contextKey{"prefix"}
Functions ¶
func PrefixFromContext ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.