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

#176 in Debugging

Download history 413531/week @ 2024-10-30 449198/week @ 2024-11-06 440435/week @ 2024-11-13 418275/week @ 2024-11-20 307804/week @ 2024-11-27 413489/week @ 2024-12-04 454284/week @ 2024-12-11 340228/week @ 2024-12-18 151702/week @ 2024-12-25 299995/week @ 2025-01-01 452113/week @ 2025-01-08 410927/week @ 2025-01-15 425071/week @ 2025-01-22 432414/week @ 2025-01-29 496947/week @ 2025-02-05 380059/week @ 2025-02-12

1,809,020 downloads per month
Used in 2,781 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