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 Middleware(ctx context.Context, w http.ResponseWriter, r *http.Request, next pipes.Next)
- func Warningf(ctx context.Context, format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultLogger pipes.ContextKey = "logas logger ctx"
DefaultLogger context key for logger
View Source
var LoggingClient pipes.ContextKey = "logas client ctx"
LoggingClient logging client
View Source
var SpanKey pipes.ContextKey = "logas span ctx"
SpanKey context key for span ID
View Source
var TraceKey pipes.ContextKey = "logas trace ctx"
TraceKey context key for trace ID
Functions ¶
func Middleware ¶
Middleware middleware to capture request context for Logas
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.