Permalink
Browse files

Adds support for console.dir

  • Loading branch information...
1 parent dde1ba6 commit e7c2337facc980d7fe2b7c9d82bd6e9c6d07050d @c4milo committed May 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/console.js
View
@@ -6,7 +6,7 @@ function ConsoleAgent(sendEvent) {
this.enabled = false;
this.messages = [];
- ['log', 'warn', 'info', 'error'].forEach(function(level) {
+ ['log', 'warn', 'info', 'error', 'dir'].forEach(function(level) {
var ref = console[level];
console[level] = function() {
ref.apply(this, arguments);

0 comments on commit e7c2337

Please sign in to comment.