Documentation
¶
Overview ¶
Package logging configures log/slog for the process.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New returns a logger writing to w in the given format ("json" or "text") at the given level ("debug", "info", "warn", "error").
func ParseLevel ¶
ParseLevel maps a level name to a slog.Level, defaulting to info.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.