8 stable releases

1.0.7 Jul 6, 2020
1.0.6 May 23, 2020
1.0.5 May 8, 2020
1.0.4 Sep 1, 2019

#23 in Debugging

Download history 220553/week @ 2024-03-03 208029/week @ 2024-03-10 217959/week @ 2024-03-17 213622/week @ 2024-03-24 224567/week @ 2024-03-31 245369/week @ 2024-04-07 259204/week @ 2024-04-14 253585/week @ 2024-04-21 237715/week @ 2024-04-28 243713/week @ 2024-05-05 284095/week @ 2024-05-12 272095/week @ 2024-05-19 277531/week @ 2024-05-26 291889/week @ 2024-06-02 286208/week @ 2024-06-09 272256/week @ 2024-06-16

1,139,742 downloads per month
Used in 2,501 crates (24 directly)

MIT/Apache

17KB
166 lines

kv-log-macro

crates.io version build status downloads docs.rs docs

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

Dependencies

~315KB