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
This commit is contained in:
Steven R. Loomis 2023-07-12 12:34:33 -05:00
parent 9eebecf9e7
commit 30f33ecd4e

View file

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