[][src]Crate femme

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");

Modules

ndjson

Print logs as ndjson.

pretty

Pretty print logs.

Functions

start

Starts logging depending on current environment.