mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
Fix merge error: bring back assignment to Logger::max_severity
This commit is contained in:
@@ -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) {
|
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 ((log2 || wlog2) && type >= verbosity) {
|
||||||
if (format == FMT_PLAIN) {
|
if (format == FMT_PLAIN) {
|
||||||
if (log2) {
|
if (log2) {
|
||||||
|
|||||||
Reference in New Issue
Block a user