Crate tracing_test_macro

source ·
Expand description

§tracing_test_macro

This crate provides a procedural macro that can be added to test functions in order to ensure that all tracing logs are written to a global buffer.

You should not use this crate directly. Instead, use the macro through tracing-test.

Attribute Macros§

  • A procedural macro that ensures that a global logger is registered for the annotated test.