首页 > 其他分享 >过滤导出指定app的日志

过滤导出指定app的日志

时间:2023-01-06 16:11:41浏览次数:37  
标签:app 导出 ECHO 2% time date 日志

 

 

@ECHO OFF
ECHO.[导出logcat日志]
ECHO [等待插入手机...]
adb wait-for-device

ECHO.-------------------------------
adb logcat|findstr "com.xxx.browser" >E:\screen\"%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~6,2%.log"
ECHO.[暂停5秒自动关闭...]
ping -n 5 127.0.0.1>nul
@ECHO ON

 

标签:app,导出,ECHO,2%,time,date,日志
From: https://www.cnblogs.com/ai594ai/p/17030793.html

相关文章