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
The text was updated successfully, but these errors were encountered:
k3KAW8Pnf7mkmdSMPHz27
changed the title
Make it console.log official for debugging purposes?
Make use of console.log official for debugging purposes?
Aug 11, 2021
Some form of logging is of course nice for development. The problem with console.log is that you cannot disable it in production, where you don't want to flood the console view but only print errors.
Perhaps we should add
"no-console": "off",
to the eslint rules. I am interested in opinions, particularly if there is a better approach for debugging here. Based on that "Runtime logging delivers console.log statements to a separate log file you create to help you uncover issues. I'd say it seems the official approach.Off-topic:
Instructions for starting runtime logging
The text was updated successfully, but these errors were encountered: