开发者

Deactivate INFO messages for YUI3 on node.js?

开发者 https://www.devze.com 2023-01-17 15:09 出处:网络
I\'m using YUI3 on node.js but I get all these INFO messages. How do I d开发者_运维知识库eactivate them?

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;
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号