Skip to content

Commit 434bf76

Browse files
committed
up
1 parent 762f9ad commit 434bf76

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

kbe/src/lib/helper/debug_helper.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,10 @@ void DebugHelper::critical_msg(const std::string& s)
603603
LOG4CXX_FATAL(g_logger, buf);
604604
#endif
605605

606+
#if KBE_PLATFORM == PLATFORM_WIN32
607+
printf("[FATAL]: %s", s.c_str());
608+
#endif
609+
606610
onMessage(KBELOG_CRITICAL, buf, strlen(buf));
607611
backtrace_msg();
608612
}

0 commit comments

Comments
 (0)