#macro #kv-log

kv-log-macro

Log macro for log's kv-unstable backend

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

#468 in Debugging

Download history 696324/week @ 2025-09-14 710730/week @ 2025-09-21 730011/week @ 2025-09-28 718197/week @ 2025-10-05 688852/week @ 2025-10-12 688054/week @ 2025-10-19 768665/week @ 2025-10-26 779558/week @ 2025-11-02 753231/week @ 2025-11-09 797114/week @ 2025-11-16 542158/week @ 2025-11-23 551916/week @ 2025-11-30 762972/week @ 2025-12-07 673680/week @ 2025-12-14 278400/week @ 2025-12-21 246749/week @ 2025-12-28

1,996,534 downloads per month
Used in 3,051 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

~335KB