femme
Not just a pretty (inter)face.
A pretty-printer and ndjson logger for the log crate.
Examples
?;
warn!;
info!;
start
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
Newline Delimited JSON
Installation
License
MIT OR Apache-2.0