Crate kv_log_macro
source · [−]Expand description
Log macro for log’s kv-unstable backend.
Example
use kv_log_macro::info;
femme::start(log::LevelFilter::Info).unwrap();
info!("hello");
info!("hello",);
info!("hello {}", "cats");
info!("hello {}", "cats",);
info!("hello {}", "cats", {
cat_1: "chashu",
cat_2: "nori",
});
Macros
Logs a message at the debug level.
Logs a message at the error level.
Logs a message at the info level.
The standard logging macro.
Determines if a message logged at the specified level in that module will be logged.
Logs a message at the trace level.
Logs a message at the warn level.
Enums
An enum representing the available verbosity levels of the logger.
Constants
The statically resolved maximum log level.
Functions
Returns the current maximum log level.