Allow logger usage on console applications

This commit is contained in:
Henrique
2012-07-12 00:21:10 -03:00
parent de873448b5
commit 962e9c7d16
5 changed files with 4 additions and 3 deletions

View File

@@ -27,7 +27,6 @@
EventDispatcher g_dispatcher;
void EventDispatcher::flush()
{
while(!m_eventList.empty())

View File

@@ -61,7 +61,9 @@ void Logger::log(Fw::LogLevel level, const std::string& message)
}
if(level == Fw::LogFatal) {
#ifdef OTCLIENT
g_window.displayFatalError(message);
#endif
ignoreLogs = true;
exit(-1);
}