add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -1,24 +1,24 @@
# logcat
# 日志输出
> 转储系统消息日志,包括发生错误时的堆栈跟踪信息,以及应用程序记录的信息消息。
> 更多信息:<https://developer.android.com/tools/logcat>.
> 转储系统消息日志,包括发生错误时的堆栈跟踪,以及应用程序记录的信息消息。
> 更多信息:<https://developer.android.com/tools/logcat>
- 显示系统日志:
`logcat`
- 将系统日志写入文件([f]ile
- 将系统日志写入一个[f]ile
`logcat -f {{路径/到/文件}}`
`logcat -f {{path/to/file}}`
- 显示正则表达式匹配的日志行:
- 显示匹配正则表达式行:
`logcat --regex {{正则表达式}}`
`logcat --regex {{regular_expression}}`
- 显示特定 PID 的日志:
- 显示特定PID的日志
`logcat --pid {{pid}}`
- 显示特定包的进程日志:
`logcat --pid $(pidof -s {{}})`
`logcat --pid $(pidof -s {{package}})`