Show Android log in the best way, easy to debug.
This is a logger with a small which provides utility on top of Android's normal
I copy this class into all the little apps I make. I'm tired of doing it. Now it's a library.
Rose will automatically figure out from which class it's being called and use that class name as its tag.
Two easy steps:
Enable debug mode in the
onCreateof your application class.
Rose's static methods everywhere throughout your app.
Rose.debug("this is the very first log") Rose.error("this is the very first log")
It will show as below:
I/Rose: net.fitken.rosesample.MainActivity.onCreate D/Rose: this is the very first log I/Rose: net.fitken.rosesample.MainActivity.onCreate(MainActivity.kt:14) E/Rose: this is the very first log