sai386501 2018-10-05 04:45 采纳率: 0%
浏览 7590
已结题

adb logcat 清空日志问题?

我用了adb logcat -c命令清空日志 在用adb logcat -d 还是输出之前的日志 日志没有被清空掉这么回事?

  • 写回答

1条回答 默认 最新

  • devmiao 2018-10-05 05:24
    关注

    adb logcat -c
    Usage: logcat [options] [filterspecs]
    options include:
      -s              Set default filter to silent.
                      Like specifying filterspec '*:S'
      -f   Log to file. Default is stdout
      -r     Rotate log every kbytes. Requires -f
      -n      Sets max number of rotated logs to , default 4
      -v     Sets the log print format, where is:
                          brief color long printable process raw tag thread
                          threadtime time usec
      -D              print dividers between each log buffer
      -c              clear (flush) the entire log and exit

    评论

报告相同问题?