mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-05 11:35:21 +03:00
Rangechange the log message truncation limit.
This commit is contained in:
@@ -38,7 +38,7 @@ fn log(&mut self, msg: Either<~str, &'static str>) {
|
||||
};
|
||||
|
||||
// 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);
|
||||
|
||||
Reference in New Issue
Block a user