Adding capability for custom logger on Android.