Add logcat functionality