3 stable releases
1.2.0 | Sep 23, 2022 |
---|---|
1.1.0 | Sep 23, 2022 |
1.0.0 | Sep 23, 2022 |
#123 in #print
3KB
Debug-message
Print debug messages if the DEBUG environment variable is set
Usage
use debug_message::debug;
fn main() {
println!("this will be printed every time");
debug("this will only be printed if the DEBUG env var is set");
}
For more code examples check out the usage.rs example.
License
This project is distributed under the MIT license.