Ver Fonte

Log parsed commands

Should help with debugging, hopefully.
Mark Rousskov há 2 anos atrás
pai
commit
1552914ee9
1 ficheiros alterados com 2 adições e 0 exclusões
  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;
             }