Documentation
¶
Overview ¶
Package debug provides a process-global, stderr-based debug logger.
It is a leaf package (no imports of client/config/cmd) so any layer can emit debug lines via Logf without plumbing a logger through call sites. Enabling is a single switch: set Enabled = true (done by the --debug flag / APTBASE_DEBUG / config). All output goes to stderr so it never pollutes --json on stdout.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Enabled bool
Enabled turns debug output on. When false, all logging is a no-op.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.