Skip to content

Commit b0455af

Browse files
Always stringify logs to console (#587)
Alwauys stringify logs to console Co-authored-by: arturpimentel <artur.oliveira@vtex.com>
1 parent 2da2a3a commit b0455af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/service/logger/logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,6 @@ export class Logger {
124124
}
125125
}
126126

127-
console.log(typeof inflatedLog === 'string' ? JSON.stringify(inflatedLog) : inflatedLog)
127+
console.log(JSON.stringify(inflatedLog))
128128
}
129129
}

0 commit comments

Comments
 (0)