Some highlights:
- Consistently outperforms the standard log crate by 50-80% in benchmarks. - Multiple log levels and an extensible handler system -File rotation with better performance than log4rs and other alternatives - Error handling utilities and context helpers
I built this because I wanted a logger that was both ergonomic to use and high-performance. The benchmarks comparing it to slog, log, and tracing are available in the repo.
I'd appreciate any feedback, especially on the API design and performance characteristics. Are there any features you'd like to see added to the roadmap? [GitHub Link: https://github.com/j-raghavan/rust-loguru] [Crates.io: https://crates.io/crates/rust-loguru]
goku12•13h ago
So, do you lose any feature, functionality or performance when using loguru as a log crate backend?
jraghavan•13h ago