Documentation
¶
Index ¶
- func ComponentEnabledWithContextForTest(ctx context.Context, component string) bool
- func DebugCtxf(ctx context.Context, component, format string, args ...any)
- func Debugf(component, format string, args ...any)
- func Enabled() bool
- func EnabledAt(level Level) bool
- func EnabledAtWithContextForTest(ctx context.Context, level Level) bool
- func EnabledFor(keys ...string) bool
- func ErrorCtxf(ctx context.Context, component, format string, args ...any)
- func Errorf(component, format string, args ...any)
- func InfoCtxf(ctx context.Context, component, format string, args ...any)
- func Infof(component, format string, args ...any)
- func WarnCtxf(ctx context.Context, component, format string, args ...any)
- func Warnf(component, format string, args ...any)
- func WithDebug(ctx context.Context, components ...string) context.Context
- func WithDebugConfig(ctx context.Context, level Level, components ...string) context.Context
- type DebugContext
- type Level
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComponentEnabledWithContextForTest ¶ added in v0.1.7
ComponentEnabledWithContextForTest exposes component filtering for package-internal tests that need to verify request-scoped debug wiring.
func EnabledAtWithContextForTest ¶ added in v0.1.7
EnabledAtWithContextForTest exposes context-scoped level evaluation for package-internal tests that need to verify request-scoped debug wiring.
func EnabledFor ¶
Types ¶
type DebugContext ¶ added in v0.1.7
Click to show internal directories.
Click to hide internal directories.