6 releases
0.1.6 | Sep 15, 2024 |
---|---|
0.1.5 | Sep 8, 2024 |
0.1.1 | Apr 23, 2024 |
342 downloads per month
12KB
269 lines
vit_logger
Easy to use logger for your rust projects.
Installation
cargo add vit_logger
Usage
fn main() {
std::env::set_var("RUST_LOG", "trace");
VitLogger::new().init(Config::builder());
log::info!("Hello, world!");
}
License
lib.rs
:
vit_logger
Easy to use logger for your rust projects.
Installation
cargo add vit-logger
Usage
use vit_logger::{Config, VitLogger};
fn main() {
std::env::set_var("RUST_LOG", "trace");
VitLogger::new().init(Config::builder().finish()?);
log::info!("Hello, world!");
}
Dependencies
~2–12MB
~74K SLoC