logpeek
logpeek
is a logger implementation for the log
crate, which focuses on reliability and simplicity.
It is meant to integrate seamlessly with logpeek-server.
-
Remote monitoring with logpeek-server. Logpeek is designed to work with logpeek-server by default, a web-based log tail explorer.
-
A drop-in replacement for existing logger implementations. If already using the
log
crate and it's macros, simply replace your existing logger withlogpeek
and you're good to go. -
Ease of use. The logger is configured via a
Config
struct, although for most use cases, the default configuration will suffice.
Usage
Use cargo add logpeek log
or include them in your Cargo.toml
.
Initializing the logger is as simple as
use logpeek;
use error;