Add utility method for clearing logcat.