vit_logger

Simple Rust logger

6 releases

0.1.6 Sep 15, 2024
0.1.5 Sep 8, 2024
0.1.1 Apr 23, 2024
Download history 286/week @ 2024-09-05 227/week @ 2024-09-12 54/week @ 2024-09-19 37/week @ 2024-09-26 19/week @ 2024-10-03

342 downloads per month

MIT license

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

MIT © malezjaa


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