Skip to content

Commit

Permalink
Revert "PB-747: Enabled logs on PROD to try to understand the blank s…
Browse files Browse the repository at this point in the history
…creen issue - #patch"
  • Loading branch information
ltshb committed Jul 16, 2024
1 parent c6598cb commit f040e3e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/utils/logging.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ export const LogLevel = {
*/
const log = (level, ...message) => {
// In production we don't log debug level and info level
// TODO PB-747: remove info and debug level once we found the blank screen issue
if (
ENVIRONMENT === 'production' &&
![LogLevel.ERROR, LogLevel.WARNING, LogLevel.INFO, LogLevel.DEBUG].includes(level)
) {
if (ENVIRONMENT === 'production' && ![LogLevel.ERROR, LogLevel.WARNING].includes(level)) {
return
}

Expand Down

0 comments on commit f040e3e

Please sign in to comment.