Crate loggest

Source
Expand description

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.

Structs§

FlushGuard

Enums§

LoggestError
Error initializing loggest

Functions§

flush
Flush the logger of the current thread
init
Initialize loggest. Must only be called once.