언제부턴가 에뮬레이터에서 실시간으로 아래 코드가 출력되기 시작했습니다.
D/EGL_emulation: app_time_stats:
D/EGL_emulation: app_time_stats:
D/EGL_emulation: app_time_stats:
D/EGL_emulation: app_time_stats:
D/EGL_emulation: app_time_stats:
어떤 의미인줄도 모르겠고, 다른 log를 보는데 방해가 되서 없앨 방법을 찾았습니다.
우측 상단에서 log를 filter할 수 있는 기능을 선택합니다.
특정 문자를 포함하고 있는 log를 필터해주면 됩니다.
[Edit Filter Configuration] 클릭
[Log Tag:]에 ^(?!(EGL_emulation)) 입력
[Package Name:]에 ^(?!(\?)) 입력
무슨 의미인줄은 정확히 모르겠으나, 해당 문자열이 포함된 로그를 제외하라는 것으로 이해했습니다.
실행하면 기존의 log가 사라지고 제가 필요로 했던 log만 출력할 수 있는 것을 볼 수 있습니다.
| 참고자료
Why am I seeing EGL_emulation app_time_stats in the log when running on an Android 12 emulator?
When testing a Flutter app on an emulator running Android 12, I'm seeing lines like these in the logs at regular intervals (approximately every second): D/EGL_emulation(32175): app_time_stats: avg=...
stackoverflow.com
'개발공부 > Java & 안드로이드' 카테고리의 다른 글
[안드로이드] Chip을 Java 파일에서 생성하는 방법 (0) | 2022.10.11 |
---|---|
[안드로이드] BottomNavigation 폰트 변경 방법 (0) | 2022.10.10 |
[안드로이드] runOnUiThread 메서드 (0) | 2022.10.06 |
[안드로이드] PopupMenu 사용방법 (더보기 버튼) (1) | 2022.10.05 |
[안드로이드] IntelliJ 단축키, 클래스 검색 & 글자 전체 바꾸기 (1) | 2022.10.05 |