Glossary: Go Beyond the Basics
slog.Logger
Also written: *slog.Logger, logger.With
A logger made by `slog.New` from a handler, with `Info`, `Debug`, `Warn`, `Error` and `With`. `With` returns a new logger that adds pairs to every event.
Glossary: Go Beyond the Basics
Also written: *slog.Logger, logger.With
A logger made by `slog.New` from a handler, with `Info`, `Debug`, `Warn`, `Error` and `With`. `With` returns a new logger that adds pairs to every event.