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

Updating filters after initialization #124

Open
amsam0 opened this issue Apr 7, 2023 · 0 comments
Open

Updating filters after initialization #124

amsam0 opened this issue Apr 7, 2023 · 0 comments

Comments

@amsam0
Copy link

amsam0 commented Apr 7, 2023

Would it be possible to update the allow/ignore filters after initialization? This would be really nice for turning off/on debug logs.

Another option would be to add a config option for a filter closure, which would take the log record and return a bool of if it should be logged or not.

Setting log levels per target/module/crate would also be a very nice feature.

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