add new chinese translations
This commit is contained in:
@@ -1,25 +1,25 @@
|
||||
# adb logcat
|
||||
|
||||
> 转储系统消息日志。
|
||||
> 更多信息:<https://developer.android.com/tools/logcat>.
|
||||
> 转储系统消息的日志。
|
||||
> 更多信息:<https://developer.android.com/tools/logcat>。
|
||||
|
||||
- 显示系统日志:
|
||||
|
||||
`adb logcat`
|
||||
|
||||
- 显示符合正则表达式的行:
|
||||
- 显示匹配正则表达式的行:
|
||||
|
||||
`adb logcat -e {{正则表达式}}`
|
||||
|
||||
- 显示特定优先级下(V:详细,D:调试,I:信息,W:警告,E:错误,F:严重错误,S:静默)标记的日志,过滤掉其他标记:
|
||||
- 以特定模式([V]详细,[D]调试,[I]信息,[W]警告,[E]错误,[F]致命,[S]静默)显示特定标签的日志,过滤其他标签:
|
||||
|
||||
`adb logcat {{标记}}:{{最低优先级}} *:S`
|
||||
`adb logcat {{标签}}:{{模式}} *:S`
|
||||
|
||||
- 在详细(V)模式下显示 React Native 应用程序的日志,静默(S)其他标记:
|
||||
- 以详细模式显示 React Native 应用程序的日志,静默其他标签:
|
||||
|
||||
`adb logcat ReactNative:V ReactNativeJS:V *:S`
|
||||
|
||||
- 显示优先级为警告(W)及以上的所有标签的日志:
|
||||
- 显示所有标签的日志,优先级为警告及以上:
|
||||
|
||||
`adb logcat *:W`
|
||||
|
||||
@@ -27,10 +27,10 @@
|
||||
|
||||
`adb logcat --pid {{pid}}`
|
||||
|
||||
- 显示某个特定软件包的进程日志:
|
||||
- 显示特定包的进程日志:
|
||||
|
||||
`adb logcat --pid $(adb shell pidof -s {{软件包}})`
|
||||
`adb logcat --pid $(adb shell pidof -s {{包名}})`
|
||||
|
||||
- 给日志着色(通常与过滤器一起使用):
|
||||
- 为日志上色(通常与过滤器一起使用):
|
||||
|
||||
`adb logcat -v color`
|
||||
`adb logcat -v color`
|
Reference in New Issue
Block a user