Crate minifemme[−][src]
Expand description
Rust log-compatible pretty/ndjson logger, based on femme
Examples
minifemme::start(minifemme::LevelFilter::Info, minifemme::LogMode::Pretty); log::warn!("Unauthorized access attempt on /login"); log::info!("Listening on port 8080");
Enums
An enum representing the available verbosity level filters of the logger.
Selects between ndjson-based logging or pretty-printed logging.
Functions
Starts logging with a log level and log mode. All messages under the specified log level will statically be filtered out. The logger will use the mode specified. This can’t be changed later. (Except if the program is running in a WASM environment.)