#logging #thread #step #output #multi-threaded #printing

logthis

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

1 unstable release

0.1.0 Feb 10, 2025

#391 in Debugging

Download history 106/week @ 2025-02-09 17/week @ 2025-02-16 2/week @ 2025-02-23 2/week @ 2025-03-02

127 downloads per month

MIT license

9KB
187 lines

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!");
}

lib.rs:

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.

Dependencies

~1–7.5MB
~51K SLoC