A replacement for the `#[test]` attribute that initializes logging or tracing before running tests.
# Cargo.toml
[dependencies]
test-log = "0.2.21"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Use `#[test_log::test]` instead of `#[test]` to automatically initialize logging.
Add `log` or `tracing` as a dependency and ensure it's initialized (e.g., with `env_logger`).
No dependency data recorded yet.