]> git.lizzy.rs Git - connect-rs.git/blobdiff - examples/tcp-client-blaster/src/main.rs
improve documentation and logging
[connect-rs.git] / examples / tcp-client-blaster / src / main.rs
index d93b85e34be792737185cc73aaf8622420ecbb05..d68ad7a2715bf4f476a0eb27fd05991183404fdb 100644 (file)
@@ -54,7 +54,7 @@ async fn main() -> anyhow::Result<()> {
 
     // send messages to the server
     for i in 0..NUM_MESSAGES {
-        // info!("Sending message: {}", i);
+        info!("Sending message: {}", i);
         let data = i.to_be_bytes().to_vec();
         let envelope = ConnectDatagram::new(i, data)?;
         writer.send(envelope).await?;