Crates.io | debug_print |
lib.rs | debug_print |
version | 1.0.0 |
source | src |
created_at | 2020-08-11 14:52:31.851645 |
updated_at | 2020-08-11 14:52:31.851645 |
description | print only in debug build |
homepage | |
repository | https://github.com/RustyNixieTube/debug_print |
max_upload_size | |
id | 275374 |
size | 5,476 |
use debug_print::{debug_print, debug_println, debug_eprint, debug_eprintln};
let x = 5 * 2;
debug_println!("x = {}", x);
debug_print!("x");
debug_print!(" = ");
debug_print!("{}", x);
debug_eprintln!("I'm printing to the Standard Error");
debug_eprint!("I'm printing to the Standard Error");
use debug_print::{
debug_print as dprint,
debug_println as dprintln,
debug_eprint as deprint,
debug_eprintln as deprintln,
};
let x = 5 * 2;
dprintln!("x = {}", x);
dprint!("x");
dprint!(" = ");
dprint!("{}", x);
deprintln!("I'm printing to the Standard Error");
deprint!("I'm printing to the Standard Error");
Licensed under either of Apache License Version 2.0 or MIT license at your option. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.