Log macro for log's kv-unstable backend.
```rust use udploggerrs::info;
fn main() { udploggerrs::UdpLogger::default().init().unwrap(); info!("hello"); info!("hello",); info!("hello {}", "cats"); info!("hello {}", "cats",); let ctx: Vec<(String, String)> = vec![ ("key1".into(), "value1".into()), ("key2".into(), "value2".into()), ]; info!(kvs: &ctx, "hello {}", "cats",); } ```
sh
$ cargo add udp-logger-rs
This crate uses #![forbid(unsafe_code)]
to ensure everything is implemented in
100% Safe Rust.
Want to join us? Check out our "Contributing" guide and take a look at some of these issues:
None.
MIT OR Apache-2.0