Documentation ¶ Index ¶ func NewLogger(level string) *slog.Logger Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewLogger ¶ func NewLogger(level string) *slog.Logger NewLogger creates a production JSON logger with the given minimum level. level accepts "debug", "info", "warn", "error". Unrecognised values default to "info". Types ¶ This section is empty. Source Files ¶ View all Source files logger.go Click to show internal directories. Click to hide internal directories.