macro_rules! msg_debug {
($msg:expr) => { ... };
}Expand description
Logs the message with the 🔍 prefix in debug mode; silent otherwise.
use kasl::msg_debug;
let task_id = 42;
msg_debug!(format!("Processing task with ID: {}", task_id));use kasl::msg_debug;
let old_state = "Active";
let new_state = "InPause";
msg_debug!(format!("State transition: {:?} -> {:?}", old_state, new_state));