logcat
Logcat is a command-line tool and system logging facility used in the Android operating system to capture a real-time stream of log messages from the kernel, the Android runtime, and applications. It collects messages from multiple logging buffers and makes them available for viewing, filtering, and analysis by developers during app development and debugging.
The Android logging system organizes messages into buffers such as main, system, radio, events, and crash. Logcat
Output lines typically include a timestamp, process and thread identifiers, a log priority level, a tag, and
Common usage includes running adb logcat to stream all messages, and applying filters such as -s to
Because log data can contain sensitive information, access should be controlled. Logcat is a core tool for