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

#71 in Debugging

Download history 323656/week @ 2024-08-03 351939/week @ 2024-08-10 357078/week @ 2024-08-17 378805/week @ 2024-08-24 349409/week @ 2024-08-31 388245/week @ 2024-09-07 348384/week @ 2024-09-14 401200/week @ 2024-09-21 393827/week @ 2024-09-28 460845/week @ 2024-10-05 413573/week @ 2024-10-12 448390/week @ 2024-10-19 426878/week @ 2024-10-26 444222/week @ 2024-11-02 441364/week @ 2024-11-09 361513/week @ 2024-11-16

1,752,716 downloads per month
Used in 2,693 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