public static void LogHandledException(Exception e) { string fullName = e.GetType().FullName; string message = e.Message; string text = CrittercismAndroid.StackTrace(e); CrittercismAndroid.PluginCallStatic("_logHandledException", new object[] { fullName, message, text }); }
private static void LogUnhandledException(Exception e) { string fullName = e.GetType().FullName; string message = e.Message; string text = CrittercismAndroid.StackTrace(e); CrittercismAndroid.PluginCallStatic((!CrittercismAndroid.logUnhandledExceptionAsCrash) ? "_logHandledException" : "_logCrashException", new object[] { fullName, message, text }); }