Move log messages to the appropriate abstraction layer

Log messages are ideally as close to the functionality they are talking about, otherwise we might end up repeating ourselves on several callsites or the log messages gets outdated if the behaviour changes.
This commit is contained in:
Thomas Eizinger 2021-02-26 17:01:36 +11:00
parent b8df4a3145
commit 7387884e6d
No known key found for this signature in database
GPG key ID: 651AC83A6C6C8B96
8 changed files with 28 additions and 20 deletions

View file

@ -72,7 +72,6 @@ impl EventLoopHandle {
/// Dials other party and wait for the connection to be established.
/// Do nothing if we are already connected
pub async fn dial(&mut self) -> Result<()> {
debug!("Attempt to dial Alice");
let _ = self.dial_alice.send(()).await?;
self.conn_established