Documentation
¶
Overview ¶
Package log configures and exposes the application-wide structured logger.
The logger is backed by log/slog. Call Init once at startup (wired into the root cobra PersistentPreRunE) before any command handler runs.
Convention:
- slog.Debug – internal operation traces; only emitted with --verbose.
- slog.Info – significant lifecycle events always written to stderr.
- fmt.Print* – user-facing command output written to stdout; never replaced.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.