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

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

    评论

报告相同问题?

悬赏问题

  • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
  • ¥15 微信公众号自制会员卡没有收款渠道啊
  • ¥15 stable diffusion
  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘
  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误