com.facebook.stetho.timber.StethoTree Java Examples

The following examples show how to use com.facebook.stetho.timber.StethoTree. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: StethoInitializer.java    From droidconat-2016 with Apache License 2.0 5 votes vote down vote up
public void init() {
    Timber.plant(new StethoTree());
    Stetho.initialize(
            Stetho.newInitializerBuilder(context)
                    .enableDumpapp(this)
                    .enableWebKitInspector(createWebkitModulesProvider())
                    .build());
}
 
Example #2
Source File: MptApplication.java    From android with Apache License 2.0 5 votes vote down vote up
@Override
public void onPreCreate() {
    super.onPreCreate();
    Timber.plant(new Timber.DebugTree());
    Timber.plant(new StethoTree());
    Stetho.initializeWithDefaults(this);
}
 
Example #3
Source File: DebugAppLifecycleCallbacks.java    From Qiitanium with MIT License 4 votes vote down vote up
@Override
protected void setupLogger() {
  Timber.plant(new Timber.DebugTree());
  Timber.plant(new StethoTree());
}