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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user