pub fn init(config: &LogConfig) -> Result<()>Expand description
Initialize the global tracing subscriber.
Reads RUST_LOG first; if absent, uses config.filter.
Format is selected by config.format.
Should be called exactly once at server startup. Calling twice is harmless but logs a warning.