Skip to content

Commit b7fa920

Browse files
committed
added deeplog as a util
1 parent 01270d6 commit b7fa920

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/util/log.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import util from 'util';
2+
3+
export function deepLog(obj: any) {
4+
console.log(util.inspect(obj, { depth: null, colors: true, sorted: true }));
5+
}

0 commit comments

Comments
 (0)