Expand description
Debug printer control for syncdoc.
Provides a thread-safe atomic flag for debug logging via STDERR and a function
to enable it programmatically (runs automatically if compiled in cfg(test)).
Functionsยง
- init_
from_ env - Initialise the debug atomic from the
SYNCDOC_DEBUGenvironment variable. - is_
enabled - Check whether debug output is enabled.
- set_
debug - Enable or disable debug output programmatically.