[][src]Attribute Macro tracing_test::traced_test

#[traced_test]

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.