开发者

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜