forked from 0ad/0ad
Make errors more noticeable when debugging
This was SVN commit r610.
This commit is contained in:
parent
02f509feb7
commit
e0fab05437
@ -90,6 +90,7 @@ void CLogger::WriteMessage(const char *message)
|
||||
|
||||
void CLogger::WriteError(const char *message)
|
||||
{
|
||||
debug_out("ERROR: %s\n", message);
|
||||
m_NumberOfErrors++;
|
||||
m_MainLog << "<P class=\"error\">ERROR: "<< message << "</P>\n";
|
||||
m_MainLog.flush();
|
||||
|
Loading…
Reference in New Issue
Block a user