Commit c6bd8e8c53

joachimschmidt557 <joachim.schmidt557@outlook.com>
2020-07-22 12:46:00
Make the default log handler print a newline
Closes #5907
1 parent 9225763
Changed files (1)
lib
lib/std/log.zig
@@ -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;
         }
     }
 }