Commit 1f474578 authored by hybrid's avatar hybrid

Add output to MSVC debug logger

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4139 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 008a470f
...@@ -417,6 +417,17 @@ void logTestString(const char * format, ...) ...@@ -417,6 +417,17 @@ void logTestString(const char * format, ...)
vsprintf(logString, format, arguments); vsprintf(logString, format, arguments);
va_end(arguments); va_end(arguments);
#if defined(_IRR_WINDOWS_API_)
#if defined (_WIN32_WCE )
core::stringw tmp(logString);
tmp += L"\n";
OutputDebugStringW(tmp.c_str());
#else
OutputDebugStringA(logString);
OutputDebugStringA("\n");
#endif
#endif
(void)printf(logString); (void)printf(logString);
if(logFile) if(logFile)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment