We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
it would be nice if there was a method that returns the current level of the logger.
This would allow to change temporarily the level and then get back to a previous value.
For example :
let level = Logger.getLevel() Logger.setLevel(Logger.OFF) //do stuff you don't want to log Logger.setLevel(level) //get back to the previous level
I have added this functionnality (see my pull request)
Ben
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
it would be nice if there was a method that returns the current level of the logger.
This would allow to change temporarily the level and then get back to a previous value.
For example :
I have added this functionnality (see my pull request)
Ben
The text was updated successfully, but these errors were encountered: