use of timber.log.Timber.DebugTree in project Android-Clean-Boilerplate by dmilicic.
the class AndroidApplication method onCreate.
@Override
public void onCreate() {
super.onCreate();
// initiate Timber
Timber.plant(new DebugTree());
}
use of timber.log.Timber.DebugTree in project k-9 by k9mail.
the class K9 method updateLoggingStatus.
private static void updateLoggingStatus() {
Timber.uprootAll();
boolean enableDebugLogging = BuildConfig.DEBUG || DEBUG;
if (enableDebugLogging) {
Timber.plant(new DebugTree());
}
}
use of timber.log.Timber.DebugTree in project u2020 by JakeWharton.
the class U2020App method onCreate.
@Override
public void onCreate() {
super.onCreate();
if (LeakCanary.isInAnalyzerProcess(this)) {
return;
}
AndroidThreeTen.init(this);
LeakCanary.install(this);
if (BuildConfig.DEBUG) {
Timber.plant(new DebugTree());
} else {
// TODO Crashlytics.start(this);
// TODO Timber.plant(new CrashlyticsTree());
}
objectGraph = ObjectGraph.create(Modules.list(this));
objectGraph.inject(this);
lumberYard.cleanUp();
Timber.plant(lumberYard.tree());
registerActivityLifecycleCallbacks(activityHierarchyServer);
}
Aggregations