mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
cut off at 500 instead of 100
This commit is contained in:
parent
2889514307
commit
3389f19e60
1 changed files with 2 additions and 2 deletions
|
@ -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:?}")
|
||||
|
|
Loading…
Add table
Reference in a new issue