aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/write.rs
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/src/write.rs
parentb79ae025f08935044c621259d4e0c4bb72bbcd7f (diff)
downloadazalea-drasl-9633508a3a31a70c657329fdeca0050b7082959e.tar.xz
replace log with tracing
Diffstat (limited to 'azalea-protocol/src/write.rs')
-rwxr-xr-xazalea-protocol/src/write.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/write.rs b/azalea-protocol/src/write.rs
index 0c3131a0..6ce01bf7 100755
--- a/azalea-protocol/src/write.rs
+++ b/azalea-protocol/src/write.rs
@@ -4,10 +4,10 @@ use crate::{packets::ProtocolPacket, read::MAXIMUM_UNCOMPRESSED_LENGTH};
use async_compression::tokio::bufread::ZlibEncoder;
use azalea_buf::McBufVarWritable;
use azalea_crypto::Aes128CfbEnc;
-use log::trace;
use std::fmt::Debug;
use thiserror::Error;
use tokio::io::{AsyncReadExt, AsyncWrite, AsyncWriteExt};
+use tracing::trace;
/// Prepend the length of the packet to it.
fn frame_prepender(mut data: Vec<u8>) -> Result<Vec<u8>, std::io::Error> {