//! Logging initialization and configuration.
//!
//! This module provides initialization for structured logging using the `tracing` crate.
//! Logging is configured to use environment-based filtering and output to stderr.
use OnceLock;
/// Initializes the tracing subscriber for structured logging.
///
/// This function is idempotent and safe to call multiple times. The first call initializes
/// the logger, subsequent calls are no-ops.
///
/// Logging configuration:
/// * Filter level is controlled by the `RUST_LOG` environment variable (defaults to `info`)
/// * Output goes to stderr
/// * Target information is disabled
/// * Timestamps are disabled
pub