Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPrettyFieldHandler ¶
func NewPrettyFieldHandler(lvl slog.Leveler, opts PrettyFieldHandlerOptions) slog.Handler
NewPrettyFieldHandler creates a new slog.Handler which writes to stderr and prints the provided ordered attribute keys after the log message.
Types ¶
Click to show internal directories.
Click to hide internal directories.