5 var LOG_LEVEL = LEVEL_DEBUG;
7 var standardLog = function() {
9 console.log.apply(console, arguments);
12 var operaLog = function() {
13 opera.postError(arguments.join(' '));
16 var msieLog = function() {
17 var args = $.makeArray(arguments);
18 var vals = $.map(args, function(n) {
20 return JSON.stringify(n);
27 console.log(vals.join(" "));
31 return $.log.browserLog.apply(this, arguments);
35 $.log.browserLog = operaLog;
36 else if($.browser.msie)
37 $.log.browserLog = msieLog;
39 $.log.browserLog = standardLog;