Fix #24, add notice for macOS

master
Zhuang Ma 8 years ago
parent 3b68dfc126
commit 8fbf8ec2cc
  1. 4
      README.en.md
  2. 6
      README.md

@ -1056,8 +1056,12 @@ adb logcat *:W
Will Warning, Error, Fatal and Silent log output.
(**Notice:** tag `*` must surrounded with double quotation, like `adb logcat "*:W"`, otherwise an error `no matches found *:W` would throws.)
#### Filter by tag and log level
filterspecs are a series of `<tag>[:priority]`.
For example, the command:
```sh

@ -1036,7 +1036,7 @@ Android 系统的日志分为两部分,底层的 Linux 内核日志输出到 /
#### 按级别过滤日志
Android 的日志分为如下几个级别
Android 的日志分为如下几个优先级(priority)
* V —— Verbose(最低,输出得最多)
* D —— Debug
@ -1056,8 +1056,12 @@ adb logcat *:W
会将 Warning、Error、Fatal 和 Silent 日志输出。
(**注:**在 macOS 下需要给 `*:W` 这样以 `*` 作为 tag 的参数加双引号,如 `adb logcat "*:W"`,不然会报错 `no matches found: *:W`。)
#### 按 tag 和级别过滤日志
`<filter-spec>` 可以由多个 `<tag>[:priority]` 组成。
比如,命令:
```sh

Loading…
Cancel
Save