Documentation
¶
Overview ¶
Package logctl owns the process-wide slog handler so the debug_logs setting (<configDir>/config.json) flips the level at runtime: Install once at startup picks the boot level, and SetDebug moves a shared slog.LevelVar the handler reads at log time (Info by default, Debug when set).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶ added in v0.12.16
func Debug() bool
Debug reports whether the active log level is debug.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.