Customise logging using util.inspect
in node.js
via Daniel Mahal
import util from 'util'
console.log(
util.inspect(keys, {
showHidden: false,
colors: true,
compact: false,
maxArrayLength: null
})
)