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

#71 in Debugging

Download history 345173/week @ 2024-08-13 359614/week @ 2024-08-20 359237/week @ 2024-08-27 379122/week @ 2024-09-03 378779/week @ 2024-09-10 353403/week @ 2024-09-17 408942/week @ 2024-09-24 404361/week @ 2024-10-01 446095/week @ 2024-10-08 425253/week @ 2024-10-15 454240/week @ 2024-10-22 411654/week @ 2024-10-29 452512/week @ 2024-11-05 439880/week @ 2024-11-12 420405/week @ 2024-11-19 257609/week @ 2024-11-26

1,649,581 downloads per month
Used in 2,706 crates (23 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

~320KB