Przeglądaj źródła

Log incoming zulip commands

Mark Rousskov 4 lat temu
rodzic
commit
454d3bf4a8
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/zulip.rs

+ 1 - 0
src/zulip.rs

@@ -95,6 +95,7 @@ fn handle_command<'a>(
     message_data: &'a Message,
 ) -> std::pin::Pin<Box<dyn std::future::Future<Output = String> + Send + 'a>> {
     Box::pin(async move {
+        log::trace!("handling zulip command {:?}", words);
         let mut words = words.split_whitespace();
         let next = words.next();