Add trace logs for handshake registration

This commit is contained in:
Rodolphe Bréard 2020-12-20 15:10:05 +01:00
parent 9fcc02ef5b
commit 2070712b50

View file

@ -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");
}