We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72e3efa commit adfe56cCopy full SHA for adfe56c
apps/sim/lib/logs/console/logger.ts
@@ -44,7 +44,7 @@ const LOG_CONFIG = {
44
colorize: true,
45
},
46
production: {
47
- enabled: false, // Disable all console logs in production
+ enabled: typeof window === 'undefined', // Enable only on server-side in production
48
minLevel: LogLevel.ERROR,
49
colorize: false,
50
0 commit comments