-
-
Notifications
You must be signed in to change notification settings - Fork 245
Excessive Logs #479
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
Comments
Your issue has been tagged as low priority because it did not follow our issue guidelines. If you believe your issue should be higher priority please close this issue and create a new one Thanks for your understanding. |
+1 |
Vue.config.silent = true |
That definitely eliminates those messages. However, I suspect it suppresses more than just the UI creation messages though I have not really read all of the code. |
Where? |
Answer: main.js |
The disadvantage with For instance warnings such as the following will be omitted. Not seeing the warnings slowed down debugging for me so I turned the logs back on. Would be nice to get rid of the excess logs though... |
Proposing to have a |
Yes! What @maxorlovsky wrote. We can't have all these render logs. Makes no sense for me, at least. Please add this option! |
I use this instead of the full silence: Vue.config.warnHandler = function (msg, vm, info) {
console.log('Vue WARN', msg)
}
Vue.config.errorHandler = function (err, vm, info) {
console.log('Vue ERROR', err)
} |
I think this issue can be closed as maxorlovsky's work has been merged and I can confirm adding
in |
Indeed! |
We are locking this issue because it has been closed for more than 14 days. If the issue comes up again please open a new issue with additional details. |
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
CLI: 5.2.0
Cross-platform modules:
Android Runtime: 5.2.0
iOS Runtime: 5.2.0
Plugin(s):
How can I prevent application logs in the console output?
This makes debugging much more difficult. An option of some sort to disable the CreateElement / AppendChild messages would be welcomed. Through some sort of flag of course to enable should they be needed but at this point they seem clutter looking for real console log messages.
Thanks!
The text was updated successfully, but these errors were encountered: