added support for Android logcat