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

#165 in Debugging

Download history 423786/week @ 2024-11-17 331911/week @ 2024-11-24 364326/week @ 2024-12-01 477378/week @ 2024-12-08 419672/week @ 2024-12-15 173556/week @ 2024-12-22 211943/week @ 2024-12-29 411407/week @ 2025-01-05 467228/week @ 2025-01-12 387968/week @ 2025-01-19 426624/week @ 2025-01-26 484191/week @ 2025-02-02 492909/week @ 2025-02-09 481584/week @ 2025-02-16 519835/week @ 2025-02-23 531449/week @ 2025-03-02

2,050,969 downloads per month
Used in 2,802 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