Samsung LogCat Fix

droidpulkit

Pulkit

Posted on August 20, 2019

Samsung LogCat Fix

Are you tired of the cluttered Logcat?
Well I got you, I own a Samsung Note 9, and according to Samsung experts they add all kind of randoms in the Logcat window in Android Studio.

Basically I am inspired from this blog

https://medium.com/@vlonjatgashi/how-to-filter-out-android-logcat-logs-66945a4a0e0a

Just create a new log tag as this

^(?!.*(AbsListView|ActivityThread|gies.*|ScrollView|OpenGLRenderer|InputTransport|InputMethodManager|InputMethodManager|zygote64|dalvik|ViewRootImpl*)).*$
Enter fullscreen mode Exit fullscreen mode

This is for the emulator giving bunch of random Logs

^(?!.*(libEGL|libc|EGL_emulation|eglCodecCommon|RenderThread|HostConnection|Gralloc3|OpenGLRenderer|AbsListView|ActivityThread|gies.*|ScrollView|OpenGLRenderer|InputTransport|InputMethodManager|InputMethodManager|zygote64|dalvik|ViewRootImpl*)).*$
Enter fullscreen mode Exit fullscreen mode

and package name as app package name.

Enjoy clutter free life ;)

💖 💪 🙅 🚩
droidpulkit
Pulkit

Posted on August 20, 2019

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related