updated logger to avoid logging arrays
This commit is contained in:
@@ -66,7 +66,7 @@ log = function(){
|
|||||||
log.history = log.history || [];
|
log.history = log.history || [];
|
||||||
log.history.push(arguments);
|
log.history.push(arguments);
|
||||||
if(this.console){
|
if(this.console){
|
||||||
console.log( Array.prototype.slice.call(arguments) );
|
console.log( Array.prototype.slice.call(arguments)[0] );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user