The platform log: logcat (android.util.Log), NSLog, the browser console or standard error.
android.util.Log
NSLog