Skip to main content
← OpenMECP Documentation

log_file_operation_legacy

Function log_file_operation_legacy 

Source
pub fn log_file_operation_legacy(
    operation: &str,
    source: &str,
    destination: Option<&str>,
)
๐Ÿ‘ŽDeprecated: Use log_file_operation with explicit print_level parameter
Expand description

Logs file operations for debugging and validation purposes (legacy version).

This function maintains backward compatibility by defaulting to verbose output. New code should use log_file_operation with explicit print_level.

ยงArguments

  • operation - Description of the file operation
  • source - Source file path
  • destination - Destination file path (optional)