Skip to content
generated from un-rust/template

๐Ÿ–๏ธ Lightweight colored logger: `log(level, message)` with `RUST_LOG` filtering.

License

Notifications You must be signed in to change notification settings

un-rust/urlogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

21 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

๐Ÿ–๏ธ 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

About

๐Ÿ–๏ธ Lightweight colored logger: `log(level, message)` with `RUST_LOG` filtering.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project