adb-logcat, logcat: add --pid examples (#9893)

This commit is contained in:
Axel Navarro
2023-04-01 22:48:20 +00:00
committed by GitHub
parent d9f6feb968
commit 6d545534f3
4 changed files with 33 additions and 1 deletions

View File

@@ -23,6 +23,14 @@
`adb logcat *:W`
- Display logs for a specific PID:
`adb logcat --pid={{pid}}`
- Display logs for the process of a specific package:
`adb logcat --pid=$(adb shell pidof -s {{package}})`
- Color the log (usually use with filters):
`adb logcat -v color`