add splash screen and setup remote debugger
This commit is contained in:
@@ -96,6 +96,10 @@ void LogRemote::log(const char* format, ...)
|
||||
m_logfile.write(line.data(), line.size());
|
||||
m_logfile.flush();
|
||||
}
|
||||
#if _WIN32
|
||||
auto line = "DBG: " + std::string(buffer, n) + "\n";
|
||||
OutputDebugStringA(line.c_str());
|
||||
#endif
|
||||
}
|
||||
void LogRemote::log(const wchar_t* format, ...)
|
||||
{
|
||||
@@ -127,6 +131,10 @@ void LogRemote::log(const wchar_t* format, ...)
|
||||
m_logfile.write(line.data(), line.size());
|
||||
m_logfile.flush();
|
||||
}
|
||||
#if _WIN32
|
||||
auto line = L"DBG: " + std::wstring(buffer, n) + L"\n";
|
||||
OutputDebugStringW(line.c_str());
|
||||
#endif
|
||||
}
|
||||
LogRemote::~LogRemote()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user