Crates.io | zarthus_env_logger |
lib.rs | zarthus_env_logger |
version | 0.3.0 |
source | src |
created_at | 2023-08-19 15:26:54.170544 |
updated_at | 2024-01-04 17:49:56.560419 |
description | A very opinionated logger |
homepage | |
repository | https://github.com/Zarthus/env_logger |
max_upload_size | |
id | 948755 |
size | 624,598 |
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.