Changing logging to logcat for Android.

This makes sense for proper filtering and to avoid
using stdout on Android.