Deactivate INFO messages for YUI3 on node.js?
I'm using YUI3 on node.js but I get all these INFO messages.
How do I d开发者_运维知识库eactivate them?
If the YUI instance is configured with debug set to true (the default), any calls to Y.log(..) will be printed to the browser's native console if it has one, and broadcast through the yui:log event.
Disable as follows
Y.config.debug = false;
精彩评论