Skip to content

Commit

Permalink
feat(debugger): log full data
Browse files Browse the repository at this point in the history
  • Loading branch information
AnatoleLucet committed May 15, 2020
1 parent 44064b1 commit 09a78f4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/shared/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ export const debug = (msg: string, ...data: any[]) => {
if (data.length > 0) {
console.group();
data.forEach(d => {
console.log(d, "\n");
console.dir(d, {
depth: Infinity,
maxArrayLength: Infinity,
});
console.log();
});
console.groupEnd();
}
Expand Down

0 comments on commit 09a78f4

Please sign in to comment.