Fix merge error: bring back assignment to Logger::max_severity

This commit is contained in:
Thomas Krijnen
2019-06-04 17:24:59 +02:00
parent 40d2c237fc
commit 68068cb816
+3
View File
@@ -114,6 +114,9 @@ void Logger::SetOutput(std::wostream* l1, std::wostream* l2) {
}
void Logger::Message(Logger::Severity type, const std::string& message, const IfcUtil::IfcBaseClass* instance) {
if (type > max_severity) {
max_severity = type;
}
if ((log2 || wlog2) && type >= verbosity) {
if (format == FMT_PLAIN) {
if (log2) {