Skip to content

Commit 233f8e0

Browse files
committed
windows console log add printf
1 parent 35d465d commit 233f8e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mars/comm/windows/win32/platform_comm.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ std::function<void (char* _log)> g_console_log_fun = nullptr;
9797
#else
9898
std::function<void (char* _log)> g_console_log_fun = [](char* _log) {
9999
::OutputDebugStringA(_log);
100+
printf(_log);
100101
};
101102
#endif
102103
void ConsoleLog(const XLoggerInfo* _info, const char* _log)

0 commit comments

Comments
 (0)