본문 바로가기
카테고리 없음

adb logcat 텍스트 파일로 출력하기

by pagehit 2019. 8. 15.
반응형

관련 링크 : https://sites.google.com/site/androidhowto/how-to-1/save-logcat-to-a-text-file

 

Save LogCat To A Text File - Android How-to's

Resources and How-to's for Google's Android SDK

sites.google.com

로그를 텍스트 파일로 출력하는 명령어는 아래와 같다.

adb logcat -d > logcat.txt

아래는 태그가 붙은 로그만 출력한다.

adb logcat -d -v tag  > log3.txt

아래는 특정 string을 포함하는 로그만 출력한다.

adb logcat -d -s PackageManager  > log4.txt

 

첫 번째 패키지 스캐닝 시간 : Time to scan packages: 5.096 seconds

반응형

댓글