public void send(String tag, String message, Throwable ex, boolean isFatal) { Tracker tracker = App.getInstance().getDefaultTracker(); tracker.send( new HitBuilders.ExceptionBuilder() .setDescription(getDescription(tag, message, ex)) .setFatal(isFatal) .build()); }
public AnalyticsExceptionReporter getExceptionReporter() { return new AnalyticsExceptionReporter( App.getInstance().getDefaultTracker(), Thread.getDefaultUncaughtExceptionHandler(), App.getInstance().getApplicationContext()); }