- Priority filter
- Clear logcat
- Export as file
- Floating window
-
Clone this library as a project module, add module dependence.
-
Add launch code in your code:
- Start logcat viewer
LogcatActivity.start(getContext())
- Start logcat viewer with log exclude rule
val logcatExcludeRules = listOf( Pattern.compile(".*]: processMotionEvent MotionEvent \\{ action=ACTION_.*"), Pattern.compile(".*]: dispatchPointerEvent handled=true, event=MotionEvent \\{ action=ACTION_.*") ) LogcatActivity.start(getContext(), logcatExcludeRules)