pub fn find_latest_log_in_dirs(
log_dirs: &[PathBuf],
pattern: &str,
) -> Option<PathBuf>Expand description
Finds the most recent log file across the provided directories that matches the pattern.
If any .json file is available, prefer the most recent JSON result.