From 6c013cec960c0ef116f656d70da024763052df4c Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Fri, 21 Jan 2022 20:22:12 -0800 Subject: [PATCH] Common: Print assert failures to stderr. --- Common/Log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/Log.cpp b/Common/Log.cpp index 23dbcaf726..422ca88f0a 100644 --- a/Common/Log.cpp +++ b/Common/Log.cpp @@ -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;