Crates.io | kv-log-macro |
lib.rs | kv-log-macro |
version | 1.0.7 |
source | src |
created_at | 2019-09-01 15:56:50.943347 |
updated_at | 2020-07-06 09:42:00.776479 |
description | Log macro for log's kv-unstable backend. |
homepage | |
repository | https://github.com/yoshuawuyts/kv-log-macro |
max_upload_size | |
id | 161367 |
size | 49,356 |
Log macro for log's kv-unstable backend.
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",
});
}
$ cargo add kv-log-macro
This crate uses #![deny(unsafe_code)]
to ensure everything is implemented in
100% Safe Rust.
Want to join us? Check out our "Contributing" guide and take a look at some of these issues:
None.
MIT OR Apache-2.0