authorgravatar for joachim.schmidt557@outlook.comJoachim Schmidt <joachim.schmidt557@outlook.com> 2020-07-22 12:46:00+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-07-22 17:02:27+00:00
logc6bd8e8c535c4518fc3f1d2496dc7a921fae0b1c
treeecd08d511eff556ed233fb5b539caa3dda1b0aae
parent9225763f8bd3ab7062a55e6f9200657205c20e3b

Make the default log handler print a newline

Closes #5907

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/log.zig+1-1
......@@ -110,7 +110,7 @@ fn log(
110110 const held = std.debug.getStderrMutex().acquire();
111111 defer held.release();
112112 const stderr = std.io.getStdErr().writer();
113 nosuspend stderr.print(format, args) catch return;
113 nosuspend stderr.print(format ++ "\n", args) catch return;
114114 }
115115 }
116116}