sarahsporck / Migration-Test-Repository

This repository is used to test the ticket migration from jira to github
0 stars 1 forks source link

IGAPP-812: Replace console with custom logging function #3478

Closed jira-to-github-migrator-test[bot] closed 1 year ago

jira-to-github-migrator-test[bot] commented 1 year ago

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: