2 #include <android/log.h>
3 #include <msp/debug/demangle.h>
4 #include "errorlogger.h"
11 bool ErrorLogger::report_uncaught_exception(const exception &e) const
13 __android_log_write(ANDROID_LOG_ERROR, "Msp", "An uncaught exception occurred.");
14 __android_log_print(ANDROID_LOG_ERROR, "Msp", " type: %s", Debug::demangle(typeid(e).name()).c_str());
15 __android_log_print(ANDROID_LOG_ERROR, "Msp", " what(): %s", e.what());
19 } // namespace Android