Common: Print assert failures to stderr.

This commit is contained in:
Unknown W. Brackets
2022-01-22 00:14:15 -08:00
parent ce0e872d37
commit 6c013cec96
+1 -1
View File
@@ -48,7 +48,7 @@ bool HandleAssert(const char *function, const char *file, int line, const char *
// Normal logging (will also log to Android log)
ERROR_LOG(SYSTEM, "%s", formatted);
// Also do a simple printf for good measure, in case logging of SYSTEM is disabled (should we disallow that?)
printf("%s\n", formatted);
fprintf(stderr, "%s\n", formatted);
#if defined(USING_WIN_UI)
int msgBoxStyle = MB_ICONINFORMATION | MB_YESNO;