tracing-wide-macros 0.2.0

Procedural macros for tracing-wide: the `#[message]` attribute and `event!` macro.
Documentation

Proc macros for tracing-wide.

  • event!(Foo { a, b }) — constructs a Message, dispatches it to registered subscribers, then records it to tracing.
  • #[message(msg = "...")] — marks a struct as an emittable message: implements Message/MessageBehaviour, fills the inherent consts, generates the recording, and asserts every field type implements Field.