Closed rh101 closed 8 months ago
In commit https://github.com/axmolengine/axmol/commit/931ca91c71d506be436103f95c68e2cb1707a0ed, the call to OutputDebugSstringW
was removed in the Win32 section of Console.cpp
.
If it is to be re-added, it should be surrounded by pre-processor check for debug build only, since this should not be called in release builds:
#if defined(_WIN32) && (defined(_DEBUG) || !defined(_NDEBUG))
// print to debugger output window
std::wstring wbuf = ntcvt::from_chars(message);
OutputDebugStringW(wbuf.c_str());
#endif
will re-add later, better is use winapi IsDebuggerPresent
to check
No log calls can be seen in the "Output" window