macro_rules! debug { ($($arg:tt)*) => { ... }; }
Macro to log debug message. First lock the logger in static, then log the message.