Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log: fix some parts of messages not being discarded early #10177

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

julianbrost
Copy link
Contributor

@julianbrost julianbrost commented Sep 27, 2024

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 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.
@julianbrost julianbrost added the area/log Logging related label Sep 27, 2024
@cla-bot cla-bot bot added the cla/signed label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/log Logging related cla/signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant