compio-log 0.1.0

Log of compio
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use compio_log::Level;

#[test]
fn test_log() {
    tracing_subscriber::fmt()
        .with_max_level(Level::TRACE)
        .init();

    compio_log::debug!("debug");
    compio_log::error!("error");
    compio_log::event!(Level::DEBUG, "event");
    compio_log::info!("info");
    compio_log::warn!("warn");
    compio_log::trace!("trace");
}