Attribute Macro tracing_test::traced_test
source ยท #[traced_test]
Expand description
A procedural macro that ensures that a global logger is registered for the annotated test.
Additionally, the macro injects a local function called logs_contain
,
which can be used to assert that a certain string was logged within this
test.
Check out the docs of the tracing-test
crate for more usage information.