You could not get log from app ( Android forbid application to read system logs) except your device is rooted . You'll need a computer then 1) [Enable Developer mode](https://xiaomiui.net/how-to-enable-developer-options-on-xiaomi-devices-2504/) , then in Settings > Additional Settings > Developer Options , Enable USB Debugging. 2) connect your device to your computer via USB cable and if there's a prompt about allowing this computer to debug, select allow. 3) Download Platform Tools from https://developer.android.com/tools/releases/platform-tools and unzip 4) Open a Cmd Prompt and `cd` to the unziped folder, type `adb devices` to check if your device is attached. 5) type `adb logcat` to see logs. if you want to save logs to file do `adb logcat > filename`
Bug 1816330 Comment 9 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
You could not get log from app ( Android forbid application to read system logs) except your device is rooted . You'll need a computer then 1) [Enable Developer mode](https://xiaomiui.net/how-to-enable-developer-options-on-xiaomi-devices-2504/) , then in Settings > Additional Settings > Developer Options , Enable USB Debugging. 2) connect your device to your computer via USB cable and if there's a prompt about allowing this computer to debug, select allow. 3) Download Platform Tools from https://developer.android.com/tools/releases/platform-tools and unzip 4) Open a Cmd Prompt and `cd` to the unziped folder, type `adb devices` to check if your device is attached. 5) type `adb logcat` to see logs. if you want to save logs to file do `adb logcat -d > filename`