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

logthis

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

1 unstable release

0.1.0 Feb 10, 2025

#501 in Debugging

Download history 59/week @ 2025-02-04 48/week @ 2025-02-11

107 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