Make the default log handler print a newline

Closes #5907
This commit is contained in:
joachimschmidt557 2020-07-22 12:46:00 +02:00 committed by Andrew Kelley
parent 9225763f8b
commit c6bd8e8c53

View File

@ -110,7 +110,7 @@ fn log(
const held = std.debug.getStderrMutex().acquire();
defer held.release();
const stderr = std.io.getStdErr().writer();
nosuspend stderr.print(format, args) catch return;
nosuspend stderr.print(format ++ "\n", args) catch return;
}
}
}