From 30f33ecd4ed10fa4e87737851f6ebc79923b1c68 Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Wed, 12 Jul 2023 12:34:33 -0500 Subject: [PATCH] fix(core): don't use double newlines in debuglog - syslog() will automatically add newlines (per mac and linux manpages) - there's no reason to add NL *AND* add std::endl - this fix will cause syslog to have no newline going in, and print only one instead of two newlines on other platforms/environments --- core/src/debuglog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/debuglog.cpp b/core/src/debuglog.cpp index dc3dd95cd59..9519f3d3bc1 100644 --- a/core/src/debuglog.cpp +++ b/core/src/debuglog.cpp @@ -358,7 +358,7 @@ int DebugLog_1(const char *file, int line, const char *function, const char *fmt "%ld" TAB //"TickCount" TAB "%s:%d" TAB //"SourceFile" TAB "%s" TAB //"Function" - "%s" NL, //"Message" + "%s", //"Message" GetTickCount(), //"TickCount" TAB file, line, //"SourceFile" TAB