macro_rules! log_sleep { ($duration_expr:expr) => { ... }; }
Help macro to log a sleep with unique id, meanwhile retain the info of LOC. Pass in a Duration constructor as an argument.