Documentation ¶ Overview ¶ Package logger centralises configuration of the process-wide clog logger for the CLI. main calls Init once before any command runs. Index ¶ func Init() func SetVerbose(verbose bool) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Init ¶ func Init() Init configures clog for the CLI: structured output to stderr with automatic colour and TTY detection. It is the single place CLI logging is set up, so levels and other policy can grow here without touching command code. func SetVerbose ¶ func SetVerbose(verbose bool) SetVerbose enables debug-level CLI logs. Types ¶ This section is empty. Source Files ¶ View all Source files logger.go Click to show internal directories. Click to hide internal directories.