Activate LOG mode where internal actions logs can be activated or deactivated
The idea is that every action can be easily tracked via logs in a way that can be activated/deactivated in Development mode.
This logging will be deactivated by default in production
This can be a great tool for learning and debugging purposes
Iโm not sure whatโs the best way of handling these log messages, if via terminal or via DevTools
Maybe via terminal is a good enough first step.
But by reading the DevTools FD I realized that we should wait for the hooks feature. Once the hooks feature is available, I think we should be able to implement a log for every process that can be hooked.
I think this is the way to go: implement a hook for every action/process that weโd like to log so itโs also available for some other logic implementation.