pub fn init() -> Result<FlushGuard, InitError>Expand description
Initialize RLG with sensible defaults.
Auto-detects format (TTY → Logfmt, pipe → JSON) and respects RUST_LOG.
§Errors
Returns InitError if a global logger or subscriber already exists.