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

#149 in Debugging

Download history 382303/week @ 2024-09-06 352399/week @ 2024-09-13 407268/week @ 2024-09-20 383037/week @ 2024-09-27 462551/week @ 2024-10-04 414397/week @ 2024-10-11 438364/week @ 2024-10-18 453171/week @ 2024-10-25 418040/week @ 2024-11-01 442636/week @ 2024-11-08 435432/week @ 2024-11-15 360007/week @ 2024-11-22 343611/week @ 2024-11-29 457066/week @ 2024-12-06 432460/week @ 2024-12-13 217923/week @ 2024-12-20

1,496,891 downloads per month
Used in 2,750 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