log4rust

Crates.iolog4rust
lib.rslog4rust
version0.1.6
sourcesrc
created_at2022-09-15 16:20:36.290931
updated_at2023-02-03 18:04:22.286496
descriptionA logging system for rust that is trying to be as easy as possiable to impliment
homepage
repositoryhttps://github.com/AMTitan/log4rust
max_upload_size
id666807
size16,130
Arthur Melton (AMTitan)

documentation

README

Log4rust

A logging system for rust that is trying to be as easy as possibale to impliment

Example

fn main() {
    log4rust::new().save().unwrap();
    // this could be in a new thread or anywhere in your code
    info!("This is some info");
    warn!("This is a warning");
    error!("This is an error");
    fatal!("This is something fatal");
}

You can also look in the exmaples folder to see how to do some other things

Crate: https://crates.io/crates/log4rust
Docs: https://docs.rs/log4rust

Commit count: 20

cargo fmt