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. | |
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. |