@echo off@clsset filename=%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~6,2%set postfix=debug.logset debugfilename=%filename%-%postfix%adb shell logcat -G 4Madb shell logcat > %debugfilename%pause
用bat-抓取android日志
未经允许不得转载:爱站程序员基地 » 用bat-抓取android日志