/femme

Not just a pretty (inter)face: pretty-printer + ndjson logger for log crate.

Primary LanguageRust

femme

crates.io version build status downloads docs.rs docs

Not just a pretty (inter)face.

A pretty-printer and ndjson logger for the log crate.

Examples

femme::start(log::LevelFilter::Trace)?;
log::warn!("Unauthorized access attempt on /login");
log::info!("Listening on port 8080");

Screenshots

Pretty Output

pretty printed logs

Newline Delimited JSON

ndjson

Installation

$ cargo add femme

License

MIT OR Apache-2.0