From f7729365e73a017568b07ede34fc2491f06db060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 20 Dec 2020 11:52:56 +0100 Subject: [PATCH] Add trace log for each line read --- src/io.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/io.rs b/src/io.rs index da3ab74..4c6ebee 100644 --- a/src/io.rs +++ b/src/io.rs @@ -34,6 +34,7 @@ fn do_read_stdin(tx: &Sender>) -> Result<(), String> { let pos = id + 1; let mut line = Vec::with_capacity(pos); line.extend_from_slice(&line_buffer[..pos]); + log::trace!("new line: {:?}", &line); tx.send(line).unwrap(); line_buffer.drain(..pos); }