Skip to content

Commit

Permalink
added deeplog as a util
Browse files Browse the repository at this point in the history
  • Loading branch information
adhityan committed May 18, 2024
1 parent 01270d6 commit b7fa920
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/util/log.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import util from 'util';

export function deepLog(obj: any) {
console.log(util.inspect(obj, { depth: null, colors: true, sorted: true }));
}

0 comments on commit b7fa920

Please sign in to comment.