pub fn detect_format(path: &Path) -> Option<&'static dyn LogFormat>
Auto-detect format for a file using the global registry.