Documentation
¶
Overview ¶
Package debug is the lys family's compile-time trace facility. Call sites stay in the source at the points that matter (input routing, frame pacing, configure handshakes) but compile out of prod builds: the lysdebug build tag swaps in an enabled implementation, and with the tag off Log is an empty function, so the compiler eliminates every call and the evaluation of its arguments.
In a tagged build LYS_DEBUG selects categories at runtime: unset or "*" traces everything, a comma-separated list traces those categories, and a "-name" entry excludes one.
Index ¶
Constants ¶
const Enabled = false
Enabled is false without the lysdebug build tag.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.