You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to bring to your attention a critical issue regarding our current usage of the eslint rule no-console. This rule exists for a reason, and it's crucial that we address its implications properly.
Here is an example scenario to illustrate the problem:
An error occurs in the code.
The logger is activated.
As a program, we are unable to determine what exactly happened.
To resolve this, it is essential to clearly define the purpose of our logger:
External Logging: If the logger is intended for external logging, we should emit the logs to the outside world, allowing them to decide how to handle it.
Internal Use: If the logger is for internal use, we should utilize the debugger instead.
By addressing this issue, we can ensure that our logging practices are both effective and compliant with best practices.
Thank you for your attention to this matter. I look forward to your feedback and suggestions.
Best regards,
Netanel Baba
The text was updated successfully, but these errors were encountered:
Dear Team,
I hope this message finds you well.
I would like to bring to your attention a critical issue regarding our current usage of the eslint rule
no-console
. This rule exists for a reason, and it's crucial that we address its implications properly.Here is an example scenario to illustrate the problem:
To resolve this, it is essential to clearly define the purpose of our logger:
By addressing this issue, we can ensure that our logging practices are both effective and compliant with best practices.
Thank you for your attention to this matter. I look forward to your feedback and suggestions.
Best regards,
Netanel Baba
The text was updated successfully, but these errors were encountered: