Android Open Source - Android-MyStarterApp Crash Reporting Tree From Project Back to project page Android-MyStarterApp .
License The source code is released under:
Apache License
If you think the Android project Android-MyStarterApp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code package com.micromobs.pkk;
/ / w w w . j a v a 2 s . c o m
import com.crashlytics.android.Crashlytics;
import com.crittercism.app.Crittercism;
import timber.log.Timber;
public class CrashReportingTree
extends Timber.HollowTree {
@Override
public void i(String message, Object... args) {
Crashlytics.log(String.format(message, args));
}
@Override
public void e(String message, Object... args) {
i("Caught Error: " + message, args);
PkkTracker.trackAppException(Globals.getGlobalApplicationContext(),
"crash_or_exception" ,
message);
}
@Override
public void e(Throwable t, String message, Object... args) {
// TODO: notify user something went wrong
e(message, args);
Crashlytics.logException(t);
Crittercism.logHandledException(t);
}
}
Java Source Code List co.kaush.mystarterapp.app.BaseApplication.java co.kaush.mystarterapp.app.CrashReportingTree.java co.kaush.mystarterapp.app.SampleEspressoTest.java co.kaush.mystarterapp.app.data.modules.BaseModule.java co.kaush.mystarterapp.app.data.modules.Modules.java co.kaush.mystarterapp.app.data.modules.Modules.java co.kaush.mystarterapp.app.network.BaseHandler.java co.kaush.mystarterapp.app.network.ScopedBus.java co.kaush.mystarterapp.app.pojos.SamplePojo.java co.kaush.mystarterapp.app.services.BaseIntentService.java co.kaush.mystarterapp.app.services.QueueClearableIntentService.java co.kaush.mystarterapp.app.ui.activities.BaseActivity.java co.kaush.mystarterapp.app.ui.activities.SampleActivity.java co.kaush.mystarterapp.app.ui.adapters.MyBaseAdapter.java co.kaush.mystarterapp.app.ui.adapters.ReuseCachedViewAdapter.java co.kaush.mystarterapp.app.ui.fragments.BaseFragment.java co.kaush.mystarterapp.app.ui.viewholder.ViewHolder.java co.kaush.mystarterapp.app.utils.IntentUtils.java co.kaush.mystarterapp.app.utils.LogUtils.java com.micromobs.pkk.CrashReportingTree.java