Open dianabarsan opened 3 years ago
Removing ticket from this iteration, the current solution is sufficient but we can reconsider other options in later iteration.
When working on this ticket -> Remember to update the eslint rules in/webapp/.eslintrc
, the rule: no-console
.
We used to use AngularJS $log before. I couldn't find a consensus about how to log stuff in Android apps (ngx-logger, our custom logging service, other?) when I was migrating the 1st parts of the app, so I just default to console..
We already have a console interceptor (https://github.com/medic/cht-core/blob/4750-angular-10-take-2/webapp/src/ts/services/feedback.service.ts) so we're already somewhat in control.
Evaluate which option to use (addressing needs and not just bloating with functionalities we don't care about).