Code: Select all
if (mDebugOut && !maskDebug)
{
# if (OGRE_PLATFORM == OGRE_PLATFORM_WIN32 || OGRE_PLATFORM == OGRE_PLATFORM_WINRT) && OGRE_DEBUG_MODE
# if OGRE_WCHAR_T_STRINGS
OutputDebugStringW(message.c_str());
OutputDebugStringW(L"\n");
# else
OutputDebugStringA(message.c_str());
OutputDebugStringA("\n");
# endif
# endif
if (lml == LML_CRITICAL)
std::cerr << message << std::endl;
else
std::cout << message << std::endl;
}
Also I was going to add this to the bug tracker but the link in the "Rules for papercuts" post (https://www.ogre3d.org/mantis/) is dead.