Logcat
Overview
Section titled “Overview”Read Android logcat with powerful filtering by tag, priority, time, and search string. Also supports clearing the buffer.
Read Parameters
Section titled “Read Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
lines | number | No | 100 | Maximum number of recent log lines |
tag | string | No | — | Filter by log tag (e.g., MyApp) |
priority | "V" | "D" | "I" | "W" | "E" | "F" | No | — | Minimum log priority level |
since | string | No | — | Only logs since this time (e.g., 2025-01-15 10:30:00.000) |
grep | string | No | — | Filter lines containing this string (case-insensitive) |
deviceId | string | No | — | Target device serial |
Examples
Section titled “Examples”Show the last 100 error logs from my device
Show logcat for tag MyApp with Warning priority
Search logcat for NullPointerException
Show logs since 2025-01-15 10:30:00
Clear the logcat buffer
Related Tools
Section titled “Related Tools”- Screenshot — Capture visual state alongside logs
- Device Shell — Run
dumpsyscommands for deeper debugging