debug-message

Crates.iodebug-message
lib.rsdebug-message
version1.2.0
sourcesrc
created_at2022-09-23 16:06:33.811735
updated_at2022-09-23 21:38:58.552837
descriptionPrint debug messages if the DEBUG environment variable is set
homepagehttps://github.com/Ernest1338/debug-message
repositoryhttps://github.com/Ernest1338/debug-message
max_upload_size
id672576
size4,090
(Ernest1338)

documentation

https://docs.rs/debug-message

README

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.

Commit count: 6

cargo fmt