DEBUG

Static DEBUG 

Source
pub static DEBUG: OnceLock<bool>
Expand description

DEBUG is enabled by default

If you are ready to ship to production, setting this to false will prevent debug messages from being printed to the console, but will still be logged to a log file.