There is no option to change console.log, however you can use a function in the bundled util library, util.inspect which does accept a depth parameter. Eg:
console.log(require('util').inspect(obj, true, 10)); // 10 levels deep
There is no option to change console.log, however you can use a function in the bundled util library, util.inspect which does accept a depth parameter. Eg:
console.log(require('util').inspect(obj, true, 10)); // 10 levels deep