fast-rich 0.3.2

A Rust port of Python's Rich library for beautiful terminal formatting
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use fast_rich::log::RichLogger;
use log::{info, warn};

fn main() {
    // Initialize the logger with custom settings (no time, no path)
    RichLogger::builder()
        .enable_time(false)
        .enable_path(false)
        .init()
        .expect("Failed to initialize logger");

    info!("This message has no timestamp or file location");
    warn!("Just the level and message");
}