Explorar o código

Log parsed commands

Should help with debugging, hopefully.
Mark Rousskov %!s(int64=2) %!d(string=hai) anos
pai
achega
1552914ee9
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/handlers.rs

+ 2 - 0
src/handlers.rs

@@ -181,6 +181,8 @@ macro_rules! command_handlers {
                 input.collect()
             };
 
+            log::info!("Comment parsed to {:?}", commands);
+
             if commands.is_empty() {
                 return;
             }