Read device logs
phone_logsRead Android logcat and filter by app package, minimum severity, or crashes only; clear the buffer first when needed.
Instructions
Read logcat. Filter to one app by package, by minimum level, or to crashes only. clear empties the log first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | ||
| level | No | Minimum level. | |
| lines | No | How many recent lines. Default 150. | |
| serial | No | Which device to use. Only needed when several are connected. | |
| crashes | No | Only the crash buffer (uncaught exceptions, native crashes). | |
| package | No |