tamotam-com / tamotam-app

(🧪 Early Beta) 🤙 TamoTam. HangOut. Offline.
https://tamotam.com
35 stars 4 forks source link

Improve Logging #27

Open danieldanielecki opened 2 years ago

danieldanielecki commented 2 years ago

The commits https://github.com/tamotam-com/tamotam-app/commit/5d368400882d6cb9812e4fc74b465e504ebb42eb and https://github.com/tamotam-com/tamotam-app/commit/3ad5b4bdb4c3ac00e50f68a1f03be60b411f4ce3 include extensive monitoring. However, maybe it makes more sense to customize the "custom_log" more towards what the event is about. In addition to that, wherever applicable, debug what is returned. In order not to log [object Object], but some tangible value instead.

Don't forget about Custom Parameters: https://stackoverflow.com/questions/67658350/firebase-analytics-find-custom-event-parameters

danieldanielecki commented 2 years ago

We also need to know if Apple and Google allow such logging. That's another point to improve it later, in order not to waste time.

danieldanielecki commented 1 year ago

Object destructuring, like on the screenshot, could be part of testing/implementation, in order to avoid '[object Object]' in logs. image