Documentation ¶
Index ¶
- Constants
- func DeriveLogger(ctx context.Context, attrs ...any) *slog.Logger
- func EnableGlobalLoggerFallback(enabled bool)
- func IsGlobalLoggerFallbackEnabled() bool
- func L(ctx context.Context) *slog.Logger
- func LTRACE(ctx context.Context, msg string, args ...any)
- func TryGetLoggerFromContext(ctx context.Context) *slog.Logger
- func WithLogger(ctx context.Context, logger *slog.Logger) context.Context
Constants ¶
View Source
const LevelTrace = slog.Level(-10)
Variables ¶
This section is empty.
Functions ¶
func EnableGlobalLoggerFallback ¶
func EnableGlobalLoggerFallback(enabled bool)
func IsGlobalLoggerFallbackEnabled ¶
func IsGlobalLoggerFallbackEnabled() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.