Crate log4rust

Source
Expand description

Loggerz is a logging system that is made to be as easy as possiable!
Look in config to see how to customize the logger.

§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");
}

Re-exports§

pub use ureq;web

Macros§

error
fatal
info
warn

Structs§

Config
To configure the logger you will use some different functions.
This is how the default configuration would look if written out:

Enums§

Backtrace
Color
The 8 standard colors.
Console
Log
Time

Functions§

new