Documentation
¶
Index ¶
- Variables
- func ErrorS(ctx context.Context, err error, msg string, keysAndValues ...interface{})
- func Errorf(ctx context.Context, format string, args ...interface{})
- func Infof(ctx context.Context, format string, args ...interface{})
- func Warningf(ctx context.Context, format string, args ...interface{})
- type CtxLog
Constants ¶
This section is empty.
Variables ¶
View Source
var CtxKey = contextKey("ID")
CtxKey for context based logging
View Source
var ReqID = contextKey("Req-ID")
ReqID for logging request ID
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.