//! Logging initialization using `tracing` and `tracing-subscriber`.
use crateLoggingConfig;
/// Initialize the global tracing subscriber.
///
/// Log level is controlled by the `RUST_LOG` environment variable, falling
/// back to `config.level`. Format is controlled by `config.format`:
/// - `"json"` — structured JSON output for production log aggregators.
/// - `"text"` (default) — human-readable output for development.
///
/// Must be called once at startup before any `tracing::*` calls.