Consider using android.util.Log.