Crash loger for native code in android applications