1
0

Lots of logging added

git-svn-id: http://mc-server.googlecode.com/svn/trunk@282 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com
2012-02-17 11:40:14 +00:00
parent 4a7883a5e3
commit 71097aa49b
6 changed files with 45 additions and 12 deletions

View File

@@ -127,8 +127,13 @@ void cLog::Log(const char * a_Format, va_list argList)
fflush(m_File);
}
// Print to console:
printf("%s", Line.c_str());
#if defined (_WIN32) && defined(_DEBUG)
// In a Windows Debug build, output the log to debug console as well:
OutputDebugString(Line.c_str());
#endif // _WIN32
}