Logcat & Debugging
Android 1.0+
Risk: SAFE
Clear Logcat Ring Buffer
Flushes and clears all historical log messages from the circular log buffer.
Command Syntax
adb logcat -c
Generic Syntax:
adb logcat -c [-b <BUFFER>]
Options & Parameters
| Flag | Description |
|---|---|
| -b <BUFFER> | Clear specific buffer (main, system, events, crash). |
Real-World Usage Examples
Clear all log buffers before reproducing bug
Flushes logs completely.
adb logcat -c