//! Shared test tracing infrastructure.
//!
//! Provides a unified JSON tracing setup for all crates. Requires the `testing` feature.
//!
//! ```ignore
//! morok_schedule::testing::setup_test_tracing();
//! ```
//!
//! Controlled by `RUST_LOG` (e.g., `RUST_LOG=morok_onnx::importer=trace`).
//! Compatible with `scripts/extract-ir.sh` (JSON structured output).
/// Initialize a JSON tracing subscriber for tests.
///
/// Safe to call multiple times — only the first call initializes.
/// Outputs JSON lines to the test writer (captured by `cargo test`,
/// visible with `--nocapture`). Uses `RUST_LOG` for filtering.