Browse Source

logcat: add Chinese translation (#6027)

BillLucky 3 years ago
parent
commit
1781b34473
1 changed files with 16 additions and 0 deletions
  1. 16 0
      pages.zh/android/logcat.md

+ 16 - 0
pages.zh/android/logcat.md

@@ -0,0 +1,16 @@
+# logcat
+
+> 转储系统消息日志。
+> 更多信息见:https://developer.android.com/studio/command-line/logcat>.
+
+- 显示系统日志:
+
+`logcat`
+
+- 将系统日志写入文件:
+
+`logcat -f {{文件路径}}`
+
+- 显示与正则表达式匹配的行:
+
+`logcat --regex {{正则表达式}}`