Inject log message into smali file, you can use logcat(tag:IGLogger) to find out the method is called or not.
- Use APKTool to decompile an APK.
- copy iglogger.smali into smali directory.
- python apktracer.py, and enter the directory path which apktool generated.
- Rebuild to an APK, and have fun.