Fixed an error that prevented HTML log files from being written

This commit is contained in:
Ray Speth 2013-01-07 18:08:17 +00:00
parent 382ad7ba80
commit 990a0b5491

View file

@ -222,14 +222,14 @@ void Application::Messages::addLogEntry(const std::string& msg)
void Application::Messages::endLogGroup(const std::string& title)
{
if (title != "" && title != loggroups.back()) {
if (title != "" && title != loggroups.back()) {
writelog("Logfile error."
"\n beginLogGroup: "+ loggroups.back()+
"\n endLogGroup: "+title+"\n");
write_logfile("logerror");
}
if (loggroups.empty()) {
if (loggroups.size() == 1) {
write_logfile(loggroups.back()+"_log");
} else if (loglevel > 0) {
AssertThrowMsg(current, "Application::Messages::endLogGroup",