adb-logcat: add Chinese translation (#8545)

pull/1/head
Ethan Liu 2022-10-01 15:58:50 +08:00 committed by GitHub
parent 13b46aa933
commit daa9ce3df5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# adb-logcat
> 转储系统消息日志。
> 更多信息:<https://developer.android.com/studio/command-line/logcat>.
- 显示系统日志:
`adb logcat`
- 显示符合正则表达式的行:
`adb logcat -e {{正则表达式}}`
- 显示特定优先级下V详细D调试I信息W警告E错误F严重错误S静默标记的日志过滤掉其他标记
`adb logcat {{标记}}:{{最低优先级}} *:S`
- 在详细V模式下显示 React Native 应用程序的日志静默S其他标记
`adb logcat ReactNative:V ReactNativeJS:V *:S`
- 显示优先级为警告W及以上的所有标签的日志
`adb logcat *:W`
- 给日志着色(通常与过滤器一起使用):
`adb logcat -v color`