1.8 KiB
1.8 KiB
kv-log-macro
Log macro for log's kv-unstable backend.
Examples
use kv_log_macro::info;
fn main() {
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",
});
}
Installation
$ cargo add kv-log-macro
Safety
This crate uses #![deny(unsafe_code)] to ensure everything is implemented in
100% Safe Rust.
Contributing
Want to join us? Check out our "Contributing" guide and take a look at some of these issues:
References
None.
License
MIT OR Apache-2.0