public static void _OnLogCallbackHandler(string condition, string stackTrace, LogType type) { if (LogType.Log == type) { return; } if (!string.IsNullOrEmpty(condition) && condition.Contains("<WeTestLog>")) { return; } if (condition.Contains(CrashMonitor.SELF_CHECK)) { CrashMonitor.selfCheck = true; return; } CrashMonitor.a(type, condition, stackTrace); }
private static void a(object A_0, UnhandledExceptionEventArgs A_1) { if (A_1 == null || A_1.ExceptionObject == null) { return; } try { if (A_1.ExceptionObject.GetType() != typeof(Exception)) { return; } } catch { if (UnityEngine.Debug.isDebugBuild) { UnityEngine.Debug.Log("<WeTestLog>:Failed to get uncaught exception"); } return; } CrashMonitor.a((Exception)A_1.ExceptionObject, null, true); }