pub fn format_record( record: &ExecutionRecord, format: &str, ) -> Result<String, String>
Format execution record based on format type