YUI.add("yui-log",function(o,e){var a=o,t="yui:log",f="undefined",d={debug:1,info:2,warn:4,error:8};a.log=function(o,e,n,l){var i,g,r,s=a,c=s.config,u=s.fire?s:YUI.Env.globalEvents;return c.debug&&!(i=void 0!==(n=n||"")&&(g=c.logExclude,!(r=c.logInclude)||n in r?r&&n in r?i=!r[n]:g&&n in g&&(i=g[n]):i=1,void 0===e&&(e="info"),s.config.logLevel=s.config.logLevel||"debug",r=d[s.config.logLevel.toLowerCase()],e in d)&&d[e]<r?1:i)&&(c.useBrowserConsole&&(g=n?n+": "+o:o,s.Lang.isFunction(c.logFn)?c.logFn.call(s,o,e,n):typeof console!=f&&console.log?(r=e&&console[e]&&e in d?e:"log",console[r](g)):typeof opera!=f&&opera.postError(g)),u&&!l)&&(u!==s||u.getEvent(t)||u.publish(t,{broadcast:2}),u.fire(t,{msg:o,cat:e,src:n})),s},a.message=function(){return a.log.apply(a,arguments)}},"patched-v3.18.7",{requires:["yui-base"]});