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

#216 in Debugging

Download history 392848/week @ 2024-12-17 152118/week @ 2024-12-24 245467/week @ 2024-12-31 435892/week @ 2025-01-07 433849/week @ 2025-01-14 420002/week @ 2025-01-21 421507/week @ 2025-01-28 495843/week @ 2025-02-04 469779/week @ 2025-02-11 507947/week @ 2025-02-18 522650/week @ 2025-02-25 544622/week @ 2025-03-04 555960/week @ 2025-03-11 537914/week @ 2025-03-18 544568/week @ 2025-03-25 442383/week @ 2025-04-01

2,187,626 downloads per month
Used in 2,831 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

~325KB