Moving start messages to lua

Moved start log messages to lua, to make easier to enable/disable those
messages.
This commit is contained in:
Ricardo Ianelli
2013-02-10 02:28:47 -02:00
parent 7f918a12a2
commit cbeab6f9b0
4 changed files with 11 additions and 7 deletions

View File

@@ -153,7 +153,6 @@ void Application::poll()
void Application::exit()
{
m_stopping = true;
g_logger.info("Exiting application..");
}
void Application::close()

View File

@@ -129,7 +129,5 @@ void Logger::setLogFile(const std::string& file)
g_logger.error(stdext::format("Unable to save log to '%s'", file));
return;
}
m_outFile << "\n== application started at " << stdext::date_time_string() << std::endl;
m_outFile.flush();
}