This library not only lets you send your Android app logs for troubleshooting purposes, but it also lets you collect app usage for analytics purposes! In other words, shipping logs and usage events from an Android app will give you the ability to both troubleshoot issues with the app, as well as let you gain insights about your app’s usage, adoption, etc.
The library sends data in batches to preserve battery (every 60s), or if there are more than 10 events queued up. Events are saved while the device is offline so you don’t have to worry about losing any data. By default, the library keeps up to 5,000 events while offline. All of this is taken care of by our Android Service, which you will want to configure.
To summarize, what this library gives you is:
- Ability to centralize your mobile app logs
- Ability to collect app usage statistics and events for usage analytics purposes
- Ability to catch uncaught exceptions (crashes) and ship them for later analysis
- JUL (java.util.logger) integration
- Support for attaching meta-data to events to allow report slicing and dicing
- Optimized data shipping to reduce network usage and extend battery life
- Buffering of data to avoid data loss while device is offline