Merge pull request #10177 from Icinga/log-noop-fix

Log: fix some parts of messages not being discarded early
This commit is contained in:
Yonas Habteab 2024-10-21 09:31:19 +02:00 committed by GitHub
commit f4e61ef9bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -121,7 +121,10 @@ public:
template<typename T>
Log& operator<<(const T& val)
{
if (!m_IsNoOp) {
m_Buffer << val;
}
return *this;
}