cfg_log
Compile time conditional logging.
Usage
The main crate should depend on cfg_log and optionally on log.
[]
= "0.1.0"
= { = "0.4.17", = true }
Then logging can be done more concisely with
use *;
instead of
use *;
The debug! macro will automatically expand to log::debug! if the log feature is enabled,
or it will be discarded at compile time otherwise.
See test_cfg_log for an example package.