Skip to content

Macros to condition code on log level #2330

@htuch

Description

@htuch

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.

@mrice32

Metadata

Metadata

Assignees

No one assigned

    Labels

    beginnerGood starter issues!enhancementFeature requests. Not bugs or questions.help wantedNeeds help!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions