emit
emit copied to clipboard
Structured logging for Rust
- `#![feature(stmt_expr_attributes)]`: https://github.com/rust-lang/rust/issues/15701 used for `#[emit::as_*]` attributes - `#![feature(proc_macro_hygiene)]`: https://github.com/rust-lang/rust/issues/54727 used for `#[emit::as_*]` attributes - ~~`#![feature(min_specialization)]`: https://github.com/rust-lang/rust/issues/31844 used to capture values. Could possibly be removed for `dyn Trait` and made...
- [x] New macro support using templates and field-value expressions - [x] New instrument-like macro using templates and field-value expressions with support for optionally logging the `ok` and `err` variants...