Fixed an error that prevented HTML log files from being written
This commit is contained in:
parent
382ad7ba80
commit
990a0b5491
1 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue