Overview of Simple Log Service SDK for Android
Simple Log Service SDK for Android encapsulates all API operations of Simple Log Service. You can use Simple Log Service SDK for Android to collect Android logs in a convenient manner.
Release notes
For more information, see aliyun-log-android-sdk.
Sample code
Simple Log Service SDK for Android provides a variety of sample code for your reference and use. The following table provides links to the sample code.
GitHub source code | Description |
Examples on how to collect logs based on recommended collection configurations | |
Examples on how to collect logs based on collection configurations that can be dynamically updated | |
Examples on how to collect logs based on collection configurations in which no caches are included |
Description
The following table describes the modules that are provided by Simple Log Service SDK for Android to implement log collection.
Module | SDK component | Description |
Producer | A basic collection SDK that encapsulates the API operations related to log collection. | |
Framework-specific core library | The core library of the SDK framework that must be connected when crash data, data of network quality analysis, and trace data are collected. | |
OpenTelemetry protocol library | The core implementation library of OpenTelemetry. | |
OpenTelemetry protocol extension library | The Kotlin extension library of OpenTelemetry that supports features such as coroutine. | |
Crash data collection | sls-android-crashreporter | The library used to automatically collect crash data. For more information, see Mobile O&M Monitoring. |
Stuttering data collection | sls-android-blockdetection | The library used to automatically collect stuttering data. For more information, see Mobile O&M Monitoring. |
Network quality analysis | sls-android-network-diagnosis | The library used to automatically collect the data of network quality analysis. For more information, see Network Quality Analyzer. |
Trace data collection | The library used to collect Android trace data. For more information, see Collect user experience monitoring data from Android devices. | |
Network extension library | The library used to automatically collect Android trace data from the OkHttp network library. For more information, see Collect user experience monitoring data from Android devices. | |
Unity3D data collection | Unity4SLS.unitypackage | The plug-in used to collect Unity3D data. Unity3D is a game engine. For more information, see Use the Unity plug-in to collect data. |