Преглед изворни кода

Log incoming zulip commands

Mark Rousskov пре 4 година
родитељ
комит
454d3bf4a8
1 измењених фајлова са 1 додато и 0 уклоњено
  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();