Need help with femme?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

lrlna
142 Stars 13 Forks Other 49 Commits 9 Opened issues

Description

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

Services available

!
?

Need anything else?

Contributors list

# 71,122
Rust
HTML
Raspber...
Arduino
26 commits
# 15,554
Rust
Mongoos...
Express
Koa
14 commits
# 1,940
HTML
cpp17
Laravel
dropbox
3 commits
# 1,623
github-...
node
express...
Express
2 commits
# 110,406
Shell
CSS
Rust
cypress
2 commits
# 185,430
cpp17
gitlab-...
travis
cargo-s...
1 commit

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

use kv_log_macro as log;

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

Prettified output will be displayed when debugging. In release mode, this logger will output to ndjson.

When using Wasm with

#[cfg(target_arch = "wasm32")]
, Wasm logger will be used. Wasm logger uses
web_sys
crate to send
console.log()
to JavaScript.

Screenshots

Pretty Output

pretty printed logs

Newline Delimited JSON

ndjson

Installation

$ cargo add femme

License

MIT OR Apache-2.0

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.