yui-log-debug.js revision ea1a3ebe8a45a2dd13c9916712a770af77f7443b
17816N/A * Provides console log capability and exposes a custom event for 17816N/A * If the 'debug' config is true, a 'yui:log' event will be 17816N/A * dispatched, which the Console widget and anything else 17816N/A * can consume. If the 'useBrowserConsole' config is true, it will 17816N/A * write to the browser console if available. YUI-specific log 17816N/A * messages will only be present in the -debug versions of the 17816N/A * JS files. The build system is supposed to remove log statements 17816N/A * from the raw and minified versions of the files. 17816N/A * @param {String} msg The message to log. 17816N/A * @param {String} cat The log category for the message. Default 17816N/A * categories are "info", "warn", "error", time". 17816N/A * Custom categories can be used as well. (opt) 17816N/A * @param {String} src The source of the the message (opt) 17816N/A * @param {boolean} silent If true, the log event won't fire 17816N/A // suppress log message if the config is off or the event stack 17816N/A // or the event call stack contains a consumer of the yui:log event * Write a system message. This message will be preserved in the * minified and raw versions of the YUI files, unlike log statements. * @param {String} msg The message to log. * @param {String} cat The log category for the message. Default * categories are "info", "warn", "error", time". * Custom categories can be used as well. (opt) * @param {String} src The source of the the message (opt) * @param {boolean} silent If true, the log event won't fire * @return {YUI} YUI instance },
'@VERSION@' ,{
requires:[
'yui-base']});