It is recommended to remove all console logging statements from production code. Therefore introduce a custom logging function which reports to sentry and does not log anything at all for production builds (i.e. non developer friendly builds). Replace all occurrences of console.log, console.warn, console.error and console.debug with the new function. Enable the eslint rule no-console.
Steffen Kleinle - 26.10.2021, 12:48:59
It is recommended to remove all console logging statements from production code. Therefore introduce a custom logging function which reports to sentry and does not log anything at all for production builds (i.e. non developer friendly builds). Replace all occurrences of console.log, console.warn, console.error and console.debug with the new function. Enable the eslint rule no-console.
Environment: - Linked issues: