From 2070712b50c05bd10e31d1aaf22097ef90062746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 20 Dec 2020 15:10:05 +0100 Subject: [PATCH] Add trace logs for handshake registration --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 90bbe89..5d03f52 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -127,6 +127,7 @@ macro_rules! handshake_register { ($obj: ident, $func: ident, $subsystem: expr, $type: expr, $name: expr) => { if $obj.$func() { println!("register|{}|{}|{}", $type, $subsystem.to_string(), $name); + log::trace!("{} {} for {} registered", $type, $name, $subsystem.to_string()); } }; } @@ -194,4 +195,5 @@ where // Ready println!("register|ready"); + log::trace!("register ready"); }