adb-logcat, logcat: add --pid examples (#9893)
This commit is contained in:
@@ -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`
|
||||
|
Reference in New Issue
Block a user