diff --git a/src/util/log.ts b/src/util/log.ts new file mode 100644 index 00000000..dddea4f1 --- /dev/null +++ b/src/util/log.ts @@ -0,0 +1,5 @@ +import util from 'util'; + +export function deepLog(obj: any) { + console.log(util.inspect(obj, { depth: null, colors: true, sorted: true })); +}