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

#47 in Debugging

Download history 93276/week @ 2023-12-23 141162/week @ 2023-12-30 184557/week @ 2024-01-06 191688/week @ 2024-01-13 198088/week @ 2024-01-20 292962/week @ 2024-01-27 208280/week @ 2024-02-03 190224/week @ 2024-02-10 198083/week @ 2024-02-17 216428/week @ 2024-02-24 220338/week @ 2024-03-02 208565/week @ 2024-03-09 216460/week @ 2024-03-16 215739/week @ 2024-03-23 224093/week @ 2024-03-30 198031/week @ 2024-04-06

889,003 downloads per month
Used in 2,417 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

~315KB