Documentation
¶
Index ¶
- func Extract(ctx context.Context, log logr.Logger) logr.Logger
- func NewLevelEncoder(opts ...EncoderOption) vLevelEncoder
- func V(ctx context.Context) int
- func Values(ctx context.Context) []any
- func WithV(ctx context.Context, v int) context.Context
- func WithValues(ctx context.Context, fields ...any) context.Context
- type EncoderOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLevelEncoder ¶
func NewLevelEncoder(opts ...EncoderOption) vLevelEncoder
Types ¶
type EncoderOption ¶
type EncoderOption func(*vLevelEncoder)
Click to show internal directories.
Click to hide internal directories.