-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Debug logging while debugging is disabled #2698
Comments
Thanks for pointing this out. Will be fixed with the next release. |
Supereg
added a commit
that referenced
this issue
Oct 5, 2020
Fix was added to the beta channel and released as |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In my homebridge-tuya-web plugin I created some helper functions to aid in debugging.
These helper functions make use of the
platform.log.log(level, message, args)
call.It turns out that calling
platform.log.debug(msg)
properly disables itself when debugging is disabled, the same however does not apply toplatform.log.log('debug', message, args)
If this is not by design, I would like to create a PR to fix this.
If this is by design I will alter my plugin to use the debug call directly.
The text was updated successfully, but these errors were encountered: