Skip to content

Glossary: Go Beyond the Basics

slog.HandlerOptions

Settings for a slog handler, such as the minimum `Level`. Pass `&slog.HandlerOptions{Level: slog.LevelDebug}` to see Debug lines.

Where the book teaches it

Related terms

log levelhandler (slog)