compressed_log 0.5.6

Log compression on the fly
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
macro_rules! debug_eprintln {
    () => ({
        #[cfg(any(debug_assertions,test,feature = "debug"))]
        eprint!("\n")
    });
    ($($arg:tt)*) => ({
        #[cfg(any(debug_assertions,test,feature = "debug"))]
        eprintln!($($arg)*);
    })
}

#[test]
fn test_debug_print() {
    debug_eprintln!();
    debug_eprintln!("Hello, world!");
}