Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/ | H | 03-May-2022 | - | 262 | 199 | |
examples/ | H | 03-May-2022 | - | 15 | 13 | |
src/ | H | 03-May-2022 | - | 245 | 166 | |
tests/ | H | 03-May-2022 | - | 7 | 5 | |
.cargo-checksum.json | H A D | 03-May-2022 | 89 | 1 | 1 | |
.cargo_vcs_info.json | H A D | 06-Jul-2020 | 74 | 6 | 5 | |
.gitignore | H A D | 08-May-2020 | 72 | 8 | 7 | |
.travis.yml | H A D | 08-May-2020 | 274 | 14 | 12 | |
CHANGELOG.md | H A D | 08-May-2020 | 3.5 KiB | 55 | 48 | |
Cargo.lock | H A D | 06-Jul-2020 | 12.7 KiB | 503 | 447 | |
Cargo.toml | H A D | 06-Jul-2020 | 1 KiB | 30 | 28 | |
Cargo.toml.orig-cargo | H A D | 06-Jul-2020 | 541 | 19 | 16 | |
LICENSE-APACHE | H A D | 08-May-2020 | 10.7 KiB | 191 | 160 | |
LICENSE-MIT | H A D | 08-May-2020 | 1.1 KiB | 22 | 17 | |
README.md | H A D | 08-May-2020 | 1.8 KiB | 63 | 50 |
README.md
1# kv-log-macro 2[![crates.io version][1]][2] [![build status][3]][4] 3[![downloads][5]][6] [![docs.rs docs][7]][8] 4 5Log macro for log's kv-unstable backend. 6 7- [Documentation][8] 8- [Crates.io][2] 9- [Releases][releases] 10 11## Examples 12```rust 13use kv_log_macro::info; 14 15fn main() { 16 femme::start(log::LevelFilter::Info).unwrap(); 17 info!("hello"); 18 info!("hello",); 19 info!("hello {}", "cats"); 20 info!("hello {}", "cats",); 21 info!("hello {}", "cats", { 22 cat_1: "chashu", 23 cat_2: "nori", 24 }); 25} 26``` 27 28## Installation 29```sh 30$ cargo add kv-log-macro 31``` 32 33## Safety 34This crate uses ``#![deny(unsafe_code)]`` to ensure everything is implemented in 35100% Safe Rust. 36 37## Contributing 38Want to join us? Check out our ["Contributing" guide][contributing] and take a 39look at some of these issues: 40 41- [Issues labeled "good first issue"][good-first-issue] 42- [Issues labeled "help wanted"][help-wanted] 43 44## References 45None. 46 47## License 48[MIT](./LICENSE-MIT) OR [Apache-2.0](./LICENSE-APACHE) 49 50[1]: https://img.shields.io/crates/v/kv-log-macro.svg?style=flat-square 51[2]: https://crates.io/crates/kv-log-macro 52[3]: https://img.shields.io/travis/yoshuawuyts/kv-log-macro/master.svg?style=flat-square 53[4]: https://travis-ci.org/yoshuawuyts/kv-log-macro 54[5]: https://img.shields.io/crates/d/kv-log-macro.svg?style=flat-square 55[6]: https://crates.io/crates/kv-log-macro 56[7]: https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square 57[8]: https://docs.rs/kv-log-macro 58 59[releases]: https://github.com/yoshuawuyts/kv-log-macro/releases 60[contributing]: https://github.com/yoshuawuyts/kv-log-macro/blob/master.github/CONTRIBUTING.md 61[good-first-issue]: https://github.com/yoshuawuyts/kv-log-macro/labels/good%20first%20issue 62[help-wanted]: https://github.com/yoshuawuyts/kv-log-macro/labels/help%20wanted 63