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

Remove TransformerLogger's ability to change level? #68

Open
oxinabox opened this issue May 27, 2022 · 0 comments
Open

Remove TransformerLogger's ability to change level? #68

oxinabox opened this issue May 27, 2022 · 0 comments

Comments

@oxinabox
Copy link
Member

If we took this ability away from TransformerLogger,
then we would be able to have its min_enabled_level set to something more simple.
To disable it we could check the level after the transform and error if it changes.

We could introduce it back in a PromotingLogger (aliased to DemotingLogger?)
which you would use one of the filtered to pipe things into and then those would get promoted/demoted and then you could feed them back into the main logger?

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

No branches or pull requests

1 participant