-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Macros to condition code on log level #2330
Copy link
Copy link
Closed
Labels
beginnerGood starter issues!Good starter issues!enhancementFeature requests. Not bugs or questions.Feature requests. Not bugs or questions.help wantedNeeds help!Needs help!
Description
It would be helpful to have some macros to condition code execution on log level. E.g. code that generates input variable foo to an ENVOY_LOG(debug, "{}", foo) should not need to execute if we're not at a log level that will emit the log message.
There isn't a huge need for this today, but it's a simple warmup exercise for new Envoy contributors.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
beginnerGood starter issues!Good starter issues!enhancementFeature requests. Not bugs or questions.Feature requests. Not bugs or questions.help wantedNeeds help!Needs help!