diff options
Diffstat (limited to 'azalea-protocol/src/lib.rs')
| -rwxr-xr-x | azalea-protocol/src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/azalea-protocol/src/lib.rs b/azalea-protocol/src/lib.rs index 1f864d45..9fff59f8 100755 --- a/azalea-protocol/src/lib.rs +++ b/azalea-protocol/src/lib.rs @@ -43,8 +43,10 @@ impl<'a> TryFrom<&'a str> for ServerAddress { #[cfg(feature = "connecting")] pub async fn connect(address: ServerAddress) -> Result<(), Box<dyn std::error::Error>> { + use log::debug; + let resolved_address = resolver::resolve_address(&address).await; - println!("Resolved address: {:?}", resolved_address); + debug!("Resolved address: {:?}", resolved_address); Ok(()) } |
