Documentation ¶ Overview ¶ Package logger configures the global slog logger based on verbosity. Index ¶ func Setup(w io.Writer, verbose bool) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Setup ¶ func Setup(w io.Writer, verbose bool) Setup configures the default slog logger. When verbose is true, messages at Debug level and above are emitted to w. When verbose is false, only Warn level and above are emitted, which effectively silences informational output. Types ¶ This section is empty. Source Files ¶ View all Source files logger.go Click to show internal directories. Click to hide internal directories.