chrome and firebug supports that method, and compatibility needs it).
In webkit inspector console it draws log row now, but they can be different methods in future.
Also, I recommend you to change slightly logcleandata method in js-class.
Like this or someth:
switch(type) {
//...
default:
type = 'log';
case 'info':
case 'log':
case 'warn':
case 'error':
if (show_label) {
console[type](label, log);
break;
}
console[type](log);
break;
}
chrome and firebug supports that method, and compatibility needs it). In webkit inspector console it draws log row now, but they can be different methods in future.
Also, I recommend you to change slightly logcleandata method in js-class. Like this or someth:
Feel the power of JS ;-)