Skip to content

Commit

Permalink
Do not use println for logging the libp2p state
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zero committed Sep 19, 2023
1 parent 4b97f41 commit 1b9f0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dht-cache/src/domocache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ impl DomoCache {
log::debug!("Listener Closed");
}
SwarmEvent::NewListenAddr { address, .. } => {
println!("Listening in {address:?}");
log::info!("Listening in {address:?}");
}
SwarmEvent::Behaviour(crate::domolibp2p::OutEvent::Gossipsub(
libp2p::gossipsub::Event::Message {
Expand Down

0 comments on commit 1b9f0c0

Please sign in to comment.