console: `console.dir()` bypasses inspect() methods #4684

Merged
merged 1 commit into from Mar 12, 2013

1 participant

@TooTallNate

Use the customInspect: false option of util.inspect() to bypass any custom
inspect() function on the object being logged. This is more in-line with how the browsers do it.

Closes #2717.

@TooTallNate TooTallNate console: `console.dir()` bypasses inspect() methods
Use the `customInspect: false` option of `util.inspect()` to bypass any custom
inspect() function on the object being logged.

Closes #2717.
da8b0ee
@TooTallNate TooTallNate merged commit da8b0ee into nodejs:master Mar 12, 2013
@TooTallNate TooTallNate deleted the TooTallNate:console-dir-bypassInspect branch Mar 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment