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

#64 in Debugging

Download history 321372/week @ 2024-07-19 319058/week @ 2024-07-26 317837/week @ 2024-08-02 354260/week @ 2024-08-09 356013/week @ 2024-08-16 367910/week @ 2024-08-23 351190/week @ 2024-08-30 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 453177/week @ 2024-10-25 418018/week @ 2024-11-01

1,815,262 downloads per month
Used in 2,669 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