[−][src]Crate beautylog
This crate contains the beauty logger.
It is made to be super simple and to mimic the output of rustup and cargo.
Usage:
#[macro_use] extern crate log; fn main() { beautylog::init(log::LevelFilter::Trace).ok(); info!("some information"); warn!("something went wrong"); debug!("some debug info"); trace!("yo"); error!("something went horribly wrong"); }
How it looks like
Functions
init | Initializes the beauty logger with the corresponding level filter. |