Allow to pass custom log function for `debug`
sergeysova opened this issue · 1 comments
sergeysova commented
const customLog = (argument) => console.log(util.inspect(myObject, {showHidden: false, depth: null, colors: true}))
debug({ fn: customLog }, $store, event, someFx)
sergeysova commented
What about to use log
instead of fn
?