Client diagnostics is the process of retrieving diagnostic logs from a client using the server-side. These logs are then used to diagnose client-side issues.
You can write diagnostic logs for critical paths in your client application. When a production issue occurs, you can use the console to send a diagnostic instruction to the user. This instruction prompts the client to upload its diagnostic logs, which you can then use to troubleshoot the problem. Diagnostic logs can be pulled through either the Introduction to Data Synchronization or Message Push channel.
Principle Framework
The console sends a diagnostic instruction through the selected channel, which can be Message Push or Data Synchronization. After the client receives the instruction, it uploads the diagnostic logs to the log gateway. When the diagnostic file is successfully uploaded, you can download it from the console. The basic framework is as follows:

Integration and usage
For information about integrating and using this feature on Android, see Android client diagnostics. For iOS, see Add the iOS SDK and Use the iOS SDK.