mirror of https://github.com/Icinga/icinga2.git
Merge pull request #10177 from Icinga/log-noop-fix
Log: fix some parts of messages not being discarded early
This commit is contained in:
commit
f4e61ef9bd
|
@ -121,7 +121,10 @@ public:
|
|||
template<typename T>
|
||||
Log& operator<<(const T& val)
|
||||
{
|
||||
if (!m_IsNoOp) {
|
||||
m_Buffer << val;
|
||||
}
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue