#logging-tracing #macro #uuid #log4rs #logging #tracing

log4you

Rust structured logging with dynamic UUID log IDs, built on log4rs. Plug and play!

2 releases

Uses new Rust 2024

new 0.1.1 Apr 16, 2025
0.1.0 Apr 16, 2025

#658 in Debugging

Apache-2.0

18KB
135 lines

log4you

log4you is a dynamic logging crate built on top of log4rs, powered by UUID. It allows simple, efficient, and consistent logging with unique log IDs for each request.

Features

  • Generate dynamic log IDs based on UUID.
  • Configure logging dynamically with YAML configuration files.
  • Supports log rotation and file size management.

Installation

Add log4you to your Cargo.toml:

[dependencies]
log4you = "0.1"

Author

Jerry Maheswara jerrymaheswara@gmail.com

Dependencies

~2.5MB
~55K SLoC