mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 15:02:09 +02:00

* pages*: remove = from GNU-style long options * 7z: readd needed = * 7za: add missing = * 7zr: fix argument and option separation * astyle: readd missing = * aws-ecr: readd missing = * az-devops: readd missing = * csslint: readd missing = * cs-fetch: readd missing = * bzgrep: readd missing = * chromium: readd missing = * docker-commit: remove unnecessary = * docker-system: remove unnecessary = * docker-ps: remove unnecessary = * dockerd: remove unnecessary = * 7za: readd missing = * 7zr: readd missing = * chromium.de: readd missing = * chromium.de: readd missing = * bundletool: remove additional space Co-authored-by: Nicolas Kosinski <nicokosi@users.noreply.github.com> --------- Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Nicolas Kosinski <nicokosi@users.noreply.github.com>
36 lines
880 B
Markdown
36 lines
880 B
Markdown
# adb logcat
|
|
|
|
> Dump a log of system messages.
|
|
> More information: <https://developer.android.com/tools/logcat>.
|
|
|
|
- Display system logs:
|
|
|
|
`adb logcat`
|
|
|
|
- Display lines that match a regular [e]xpression:
|
|
|
|
`adb logcat -e {{regular_expression}}`
|
|
|
|
- Display logs for a tag in a specific mode ([V]erbose, [D]ebug, [I]nfo, [W]arning, [E]rror, [F]atal, [S]ilent), filtering other tags:
|
|
|
|
`adb logcat {{tag}}:{{mode}} *:S`
|
|
|
|
- Display logs for React Native applications in [V]erbose mode [S]ilencing other tags:
|
|
|
|
`adb logcat ReactNative:V ReactNativeJS:V *:S`
|
|
|
|
- Display logs for all tags with priority level [W]arning and higher:
|
|
|
|
`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`
|