Rangechange the log message truncation limit.

This commit is contained in:
Michael Sullivan 2013-08-13 16:37:02 -07:00
parent d597f54fc2
commit dc9b3e37e2

View File

@ -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);