-
Notifications
You must be signed in to change notification settings - Fork 6
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
Noisy console log messages #96
Comments
Reference line: adapt-devtools/js/end-trickle.js Line 5 in b8b77ca
There are four extra pipes/function to the console api which can help filter the output: console.debug
console.info
console.warn
console.error Messages like those in this issue which are for debugging, should not be posted to Adapt has a logging system which should be used instead of direct console logs, this can be seen at the url below: Adapt's logging system is configured in the It is possible to set a default logging level in the Otherwise, here is an article on how to subsequently filter the console in a browser, such that the browser console only shows messages of the various types: https://medium.com/@rhyneav/chromes-console-filters-and-how-to-use-them-63f2ff1c148b It is probably wise not to remove logs used for debugging, but it is a good idea to output them to the correct pipe and to use the Adapt's APIs to do so. |
🎉 This issue has been resolved in version 3.7.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Subject of the issue
In
end-trickle.js
, statements about when Trickle starts and ends are output to the console.This adds unnecessary messages to the console that are not valuable unless you are specifically troubleshooting a Trickle issue.
I would suggest one of the following:
console.debug()
_quietMode
or_suppressConsoleLogs
.The text was updated successfully, but these errors were encountered: