Documentation
¶
Overview ¶
Package slogger provides a minimal wrapper around log/slog for creating configured loggers and propagating them through context.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LevelFromText ¶ added in v0.0.2
LevelFromText parses a level name to a slog.Level. It accepts "debug", "info", "warn", "warning", and "error" (case-insensitive). Unknown values default to slog.LevelInfo.
Types ¶
Click to show internal directories.
Click to hide internal directories.