m_IsNoOp was introduced to avoid building up log messages that will later be discarded, like debug messages if no debug logging is configured. However, it looks like the template operator<< implemented in the header file was forgotten when adding this feature, all other places writing into m_Buffer already have an if guard like added by this commit.
m_IsNoOp
was introduced to avoid building up log messages that will later be discarded, like debug messages if no debug logging is configured. However, it looks like the templateoperator<<
implemented in the header file was forgotten when adding this feature, all other places writing intom_Buffer
already have an if guard like added by this commit.