mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-07-30 16:31:57 +00:00
print em logs
This commit is contained in:
@@ -334,9 +334,10 @@ impl ClosestPeersIter {
|
||||
}).collect::<String>();
|
||||
|
||||
log::info!(
|
||||
"[iterlog] ClosestPeerIter: target = {}; Got all {} results, finished. Log:\n",
|
||||
"[iterlog] ClosestPeerIter: target = {}; Got all {} results, finished. Log:\n{}",
|
||||
bs58::encode(&self.target).into_string(),
|
||||
*cnt
|
||||
*cnt,
|
||||
log
|
||||
);
|
||||
self.state = State::Finished;
|
||||
return PeersIterState::Finished
|
||||
|
Reference in New Issue
Block a user