1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.id/android/logcat.md
Reinhart Previano Koentjoro 4806c1ca39
android/*: update Indonesian translations (#10127)
1. screencap: update command description
2. logcat: translate new English command examples
2023-06-24 18:31:07 +05:30

24 lines
576 B
Markdown

# logcat
> Tampilkan dan simpan log sistem.
> Informasi lebih lanjut: <https://developer.android.com/studio/command-line/logcat>.
- Tampilkan log sistem:
`logcat`
- Simpan log sistem di dalam sebuah file:
`logcat -f {{path/to/file}}`
- Saring informasi log berdasarkan sintaks ekspresi reguler (regex) tertentu:
`logcat --regex {{regular_expression}}`
- Tampilkan log untuk nomor induk (PID) program yang sedang dijalankan:
`logcat --pid={{pid}}`
- Tampilkan log untuk (kemasan) aplikasi yang sedang dijalankan:
`logcat --pid=$(pidof -s {{nama_kemasan_aplikasi}})`