LogcatHelper

A helper object to save the application's Logcat output to a file.

Types

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun saveLogcatToFile(context: Context): String?

Saves the application's logcat output to a file in the app's file directory. This function streams the JSON output to avoid high memory usage and zips it as it goes.