pub fn init_diag(log_dir: Option<&Path>, level: &str)Expand description
The one diagnostics bootstrap: file/stderr logging + panic capture +
diag-ring wiring, idempotent — FFI fmf_engine_create, the service
entry points and the CLI all call exactly this (ADR-0018).