#logging #info #warn #error #zero-dependency #strip #warnings

bin+lib minilog

Zero-dependency logging library

1 unstable release

0.1.0 Oct 4, 2023

#7 in #warn

CC0 license

5KB
84 lines

use minilog::*;

fn main() {
    info!("This is an info message");
    warn!("This is a warning!");
    error!("This is an error!!!");
}

Use --features "strip" to remove logging from your build.

Use --features "warn" to hide info.

Use --features "error" to hide info and warnings.

No runtime deps

Features