#logging #high #performance #facility #file

loggest

A high performance logging facility for Rust's log crate

4 releases

0.2.2 Feb 12, 2020
0.2.1 Jul 11, 2019
0.2.0 Jul 11, 2019
0.1.0 Feb 7, 2019

#8 in #facility


Used in fscmp

Apache-2.0

11KB
199 lines

Loggest

Latest version Documentation

A high performance logging facility for Rust's log crate.


lib.rs:

loggest provides a high performance logging facility for Rust's log crate.

Instead of writing logs to a file, loggest writes them to a pipe. The other end of the pipe is opened by a daemon which is responsible for writing the logs (and possibly compressing them).

Multithreading

Each thread maintains its connection to the log daemon to avoid locking for each log line.

Dependencies

~2.2–3MB
~61K SLoC