aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/examples
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-11-18 00:58:47 -0600
committermat <git@matdoes.dev>2023-11-18 00:58:47 -0600
commit9633508a3a31a70c657329fdeca0050b7082959e (patch)
tree9973ed4e60a0bd2b77413a195b2a166854f04d43 /azalea-protocol/examples
parentb79ae025f08935044c621259d4e0c4bb72bbcd7f (diff)
downloadazalea-drasl-9633508a3a31a70c657329fdeca0050b7082959e.tar.xz
replace log with tracing
Diffstat (limited to 'azalea-protocol/examples')
-rw-r--r--azalea-protocol/examples/handshake_proxy.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/examples/handshake_proxy.rs b/azalea-protocol/examples/handshake_proxy.rs
index f7fb0f5c..4e9719b0 100644
--- a/azalea-protocol/examples/handshake_proxy.rs
+++ b/azalea-protocol/examples/handshake_proxy.rs
@@ -21,7 +21,6 @@ use azalea_protocol::{
read::ReadPacketError,
};
use futures::FutureExt;
-use log::{error, info, warn};
use once_cell::sync::Lazy;
use std::error::Error;
use tokio::{
@@ -29,6 +28,7 @@ use tokio::{
net::{TcpListener, TcpStream},
};
use tracing::Level;
+use tracing::{error, info, warn};
const LISTEN_ADDR: &str = "127.0.0.1:25566";
const PROXY_ADDR: &str = "127.0.0.1:25565";