1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 11:19:46 +01:00

logcat: update zh_TW translation (#14163)

This commit is contained in:
Andy Li 2024-10-13 09:19:54 +01:00 committed by GitHub
parent aefd7ef6de
commit 019681dfd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,16 +1,24 @@
# logcat
> 轉存系統訊息日誌。
> 轉存系統訊息日誌,包括發生錯誤時的堆疊追蹤信息,以及應用程序記錄的信息消息
> 更多資訊:<https://developer.android.com/tools/logcat>.
- 顯示系統日誌:
`logcat`
- 將系統日誌寫入檔案:
- 將系統日誌寫入檔案([f]ile)
`logcat -f {{文件路徑}}`
`logcat -f {{路徑/到/檔案}}`
- 顯示與正規表示式匹配的列:
- 顯示與正規表示式匹配的日誌列:
`logcat --regex {{正規表示式}}`
- 顯示特定 PID 的日誌:
`logcat --pid {{pid}}`
- 顯示特定套件的程序日誌:
`logcat --pid $(pidof -s {{套件}})`