A beautiful logger in rust
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tforgione 9a67fbff6c Update 'README.md' 4 months ago
examples Initial commit 4 months ago
src Initial commit 4 months ago
.gitignore Initial commit 4 months ago
Cargo.toml Initial commit 4 months ago
LICENSE Initial commit 4 months ago
README.md Update 'README.md' 4 months ago

README.md

beautylog

A beautiful logger in rust.

This repository contains the beauty logger. It’s based on the log crate.

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

how it renders