| What Implement a logging SDK for Android that can be used to logging locally, as well as pushing logs to the backend service. It should:
- a drop-in replacement for the default android logging framework
- developers can configure the size of the cached logs, either by size (e.g. 3M), or by time (e.g. the last hour). The cached logs should be persisted to that the apps can be restarted without losing the logs.
- it should have no impact on performance of the app
- it can upload the cached logs to the backend
Suggestions
- Look at if there are any open source solutions that we can use
- For the spike, to keep things simple, it is recommended to just query the backend to see if the logs should be uploaded on app start, and upload the logs on app start.
- But for production use, we need to think about how the clients can report heart-beat, and poll backend for updates, without keeping too many persisted connections.
- The developers should be able to add customised tags to the logs to allow easier query on the backend.
- The high-level architecture of the logging framework on the client side should be the same for all the platforms.
|