A very opinionated implementation of env_logger - fast plug 'n play development so you can focus on what matters
APACHE-2.0 License
The most opinionated logger you'll find.
Does nothing if RUST_LOG
is set.
cargo add log
cargo add zarthus_env_logger
#[macro_use]
extern crate log;
fn main() {
zarthus_env_logger::init();
info!("Hello, world!");
}
RUST_LOG
is set.@
)debug
by default for your own package, and error
for all other packages.chrono
or time
(if possible), and included by defaultLicensed under the following licenses at your option:
Files in the project may not be copied, modified, or distributed except according to those terms.