Skip to content

Conversation

oxinabox
Copy link
Member

@quinnj I was looking at this, and I think the checking of hte OverrideLogger's level inside shouldlog is not required.
the parent logger, or the actual logging system should have already checked that using min_enabled_level before calling the shouldlog function

@quinnj
Copy link
Member

quinnj commented May 28, 2022

Yeah, you're right; I think I was in the mindset of the other compositional loggers and thinking we needed to also do the level check in shouldlog.

@quinnj quinnj merged commit 9b2799e into master May 28, 2022
@quinnj quinnj deleted the ox/override_should_level_check branch May 28, 2022 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants