refactor: Replace debug! with log::debug! in diff module logging statements
This commit is contained in:
@@ -57,12 +57,12 @@ pub fn mode_diff(
|
|||||||
let mut item_path_a = data_path.clone();
|
let mut item_path_a = data_path.clone();
|
||||||
item_path_a.push(item_a.id.unwrap().to_string()); // id.unwrap() is safe due to ok_or_else
|
item_path_a.push(item_a.id.unwrap().to_string()); // id.unwrap() is safe due to ok_or_else
|
||||||
let compression_type_a = CompressionType::from_str(&item_a.compression)?;
|
let compression_type_a = CompressionType::from_str(&item_a.compression)?;
|
||||||
debug!("MAIN: Item A has compression type {:?}", compression_type_a);
|
log::debug!("MAIN: Item A has compression type {:?}", compression_type_a);
|
||||||
|
|
||||||
let mut item_path_b = data_path.clone();
|
let mut item_path_b = data_path.clone();
|
||||||
item_path_b.push(item_b.id.unwrap().to_string());
|
item_path_b.push(item_b.id.unwrap().to_string());
|
||||||
let compression_type_b = CompressionType::from_str(&item_b.compression)?;
|
let compression_type_b = CompressionType::from_str(&item_b.compression)?;
|
||||||
debug!("MAIN: Item B has compression type {:?}", compression_type_b);
|
log::debug!("MAIN: Item B has compression type {:?}", compression_type_b);
|
||||||
|
|
||||||
// Create pipes for diff's input
|
// Create pipes for diff's input
|
||||||
let (fd_a_read, fd_a_write) =
|
let (fd_a_read, fd_a_write) =
|
||||||
|
|||||||
Reference in New Issue
Block a user