pub async fn log_process_output( command: &str, process_name: &str, stdout: &str, stderr: &str, ) -> Result<(), String>
Helper function to log process output with the global logger