A small tool to log your application inside your application with a floating UI component
Add it in your root build.gradle:
allprojects { repositories { ... maven { url 'https://jitpack.io' } } } Add dependencies in build.gradle.
dependencies { implementation 'com.github.symphonyrecords:androidminidebugger:1.1.1' } Start the logging service:
Intent intent = new Intent(this, DebuggerService.class); this.stopService(intent); ContextCompat.startForegroundService(this, intent); Finally use SRLog.java instead of android Log class:
SRLog.d(TAG, "Message"); Note: don't forget to grant "Draw over other apps" permission (Look into Example.java).
