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

Provide new api method for clearing all saved levels? #87

Open
kawing-chiu opened this issue Dec 20, 2015 · 1 comment
Open

Provide new api method for clearing all saved levels? #87

kawing-chiu opened this issue Dec 20, 2015 · 1 comment

Comments

@kawing-chiu
Copy link

Sometimes I want to take full control of all levels of all loggers. For example when production environment is detected. For a certain logger it could be done by calling setLevel() on that logger directly (not really clearing, but close). However for all loggers altogether, I can't find a way to do that using the current apis.

@kawing-chiu kawing-chiu changed the title Provide new api method for clearing all saved level? Provide new api method for clearing all saved levels? Dec 20, 2015
@xmedeko
Copy link
Contributor

xmedeko commented Apr 21, 2021

Try to iterate over getLoggers() result.

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

2 participants