mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
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
1 changed files with 4 additions and 1 deletions
|
|
@ -121,7 +121,10 @@ public:
|
|||
template<typename T>
|
||||
Log& operator<<(const T& val)
|
||||
{
|
||||
m_Buffer << val;
|
||||
if (!m_IsNoOp) {
|
||||
m_Buffer << val;
|
||||
}
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue