mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 13:22: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>
24 lines
549 B
Markdown
24 lines
549 B
Markdown
# logcat
|
|
|
|
> Dump a log of system messages, including stack traces when an error occurred, and information messages logged by applications.
|
|
> More information: <https://developer.android.com/tools/logcat>.
|
|
|
|
- Display system logs:
|
|
|
|
`logcat`
|
|
|
|
- Write system logs to a [f]ile:
|
|
|
|
`logcat -f {{path/to/file}}`
|
|
|
|
- Display lines that match a regular expression:
|
|
|
|
`logcat --regex {{regular_expression}}`
|
|
|
|
- Display logs for a specific PID:
|
|
|
|
`logcat --pid {{pid}}`
|
|
|
|
- Display logs for the process of a specific package:
|
|
|
|
`logcat --pid $(pidof -s {{package}})`
|