The most opinionated logger you'll find.
Does nothing if RUST_LOG
is set.
bash
cargo add log
cargo add zarthus_env_logger
```rust
extern crate log;
fn main() { zarthusenvlogger::init();
info!("Hello, world!");
} ```
RUST_LOG
is set.@
)debug
by default for your own package, and error
for all other packages.Licensed under the following licenses at your option:
Files in the project may not be copied, modified, or distributed except according to those terms.