clang_log 2.1.2

Another log implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
use log::*;

fn main() {
    clang_log::init_error(Level::Trace, Level::Error, "clang_log_example");

    trace!("Test log");
    debug!("Debug information: {}", 5);
    info!("This is helpful information");
    warn!("Something went wrong, but it's not horrible");
    error!("Something is terribly wrong.");
}