UI: Always print debug log to stdout if Debug build

Makes it easier to debug certain issues when building on non-Windows
machines.
This commit is contained in:
Jim committed 2023-03-25 22:51:25 -07:00
1 parent 9b270c38e8
commit 39afa665a1
1 file changed
+5 -1
+5 -1
View File
@@ -410,8 +410,12 @@ static void do_log(int log_level, const char *msg, va_list args, void *param)
}
#endif
#if !defined(_WIN32) && defined(_DEBUG)
def_log_handler(log_level, msg, args2, nullptr);
#endif
if (log_level <= LOG_INFO || log_verbose) {
#ifndef _WIN32
#if !defined(_WIN32) && !defined(_DEBUG)
def_log_handler(log_level, msg, args2, nullptr);
#endif
if (!too_many_repeated_entries(logFile, msg, str))