Documentation
¶
Overview ¶
pkg/logger/context.go
Index ¶
- Constants
- func Debug() *zerolog.Event
- func Error() *zerolog.Event
- func Fatal() *zerolog.Event
- func FromContext(ctx context.Context) *zerolog.Logger
- func Info() *zerolog.Event
- func Init(level string)
- func Panic() *zerolog.Event
- func Warn() *zerolog.Event
- func WithCRD(ctx context.Context, crd string) context.Context
- func WithRequestID(ctx context.Context) context.Context
- func WithResource(ctx context.Context, key string) context.Context
Constants ¶
View Source
const ( RequestIDKey contextKey = "request_id" CRDKey contextKey = "crd" ResourceKey contextKey = "resource" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.