Skip to main content
← OpenMECP Documentation

log_mode_transition

Function log_mode_transition 

Source
pub fn log_mode_transition(from_mode: RunMode, to_mode: RunMode, reason: &str)
Expand description

Logs mode transitions and file operations for debugging and user information.

ยงArguments

  • from_mode - The original run mode
  • to_mode - The new run mode after transition
  • reason - Reason for the mode transition