#identification #printing

logthis

A simple, beautiful, and easy-to-use logging library for Rust

1 unstable release

0.1.0 Feb 10, 2025

#606 in Debugging

MIT license

9KB
187 lines

This library aims to provide a convenient logging output method for debugging.

It provides easy to locate output and also facilitates problem localization in multi-threaded programs.


Beautiful log this!

A simple, beautiful, and easy-to-use logging library for Rust.

Features

  • Beautiful console printing
  • There are no tedious initialization steps
  • Lightweight & Easy to use
  • Support thread log identification
  • Support log redirection to files
  • Facilitating multi-threaded debugging

Example

use logthis::*;

fn main(){
    info!("This is beautiful!");
}

Dependencies

~1–7.5MB
~51K SLoC