Skip to content
This repository was archived by the owner on Mar 30, 2026. It is now read-only.

Latest commit

ย 

History

History
64 lines (45 loc) ยท 1.67 KB

File metadata and controls

64 lines (45 loc) ยท 1.67 KB

๐Ÿ–๏ธ urlogger

Crates.io Version Crates.io Total Downloads docs.rs GitHub commit activity GitHub Repo stars

Lightweight colored logger: log(level, message) with RUST_LOG filtering.

Full documentation โ†’

Quick start

cargo add urlogger

Usage

//! Demo: logs at all levels. Use `RUST_LOG=info` to filter.

use urlogger::{LogLevel, log};

fn main() {
    log(LogLevel::Trace, "Hello, world!");
    log(LogLevel::Debug, "Hello, world!");
    log(LogLevel::Info, "Hello, world!");
    log(LogLevel::Warn, "Hello, world!");
    log(LogLevel::Error, "Hello, world!");
}

License

Published under the Apache-2.0 license. Made by @UnRUST ๐Ÿ’›


๐Ÿ› ๏ธ auto updated with automd-rs