mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Rangechange the log message truncation limit.
This commit is contained in:
parent
d597f54fc2
commit
dc9b3e37e2
@ -38,7 +38,7 @@ impl Logger for StdErrLogger {
|
||||
};
|
||||
|
||||
// Truncate the string
|
||||
let buf_bytes = 256;
|
||||
let buf_bytes = 2048;
|
||||
if s.len() > buf_bytes {
|
||||
let s = s.slice(0, buf_bytes) + "[...]";
|
||||
print(s);
|
||||
|
Loading…
Reference in New Issue
Block a user