diff options
Diffstat (limited to 'azalea-protocol/src')
| -rwxr-xr-x | azalea-protocol/src/read.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/read.rs b/azalea-protocol/src/read.rs index 1ed491af..2c749a61 100755 --- a/azalea-protocol/src/read.rs +++ b/azalea-protocol/src/read.rs @@ -203,8 +203,8 @@ where if log_enabled!(log::Level::Trace) { let buf_string: String = { - if buf.len() > 100 { - let cut_off_buf = &buf[..100]; + if buf.len() > 500 { + let cut_off_buf = &buf[..500]; format!("{cut_off_buf:?}...") } else { format!("{buf:?}") |
