Java 类com.facebook.stetho.timber.StethoTree 实例源码

项目:Android-MVVM    文件:MvvmApplication.java   
@Override
public void onCreate() {
    super.onCreate();
    if (LeakCanary.isInAnalyzerProcess(this)) {
        // This process is dedicated to LeakCanary for heap analysis.
        // You should not init your app in this process.
        return;
    }

    LeakCanary.install(this);
    Stetho.initializeWithDefaults(this);

    if(BuildConfig.DEBUG) {
        Timber.plant(new Timber.DebugTree());
        Timber.plant(new StethoTree());
    }

    component = DaggerApplicationComponent.builder()
            .applicationModule(new ApplicationModule(this))
            .build();

    component.inject(this);
}
项目:superglue    文件:DebugSuperGlueModule.java   
@Provides @Singleton SuperGlueInitializer provideSuperGlueInitializer() {
  return context -> {
    Stetho.initializeWithDefaults(context);

    Timber.plant(new Timber.DebugTree());
    Timber.plant(new StethoTree());
  };
}
项目:superglue    文件:DebugSuperGlueModule.java   
Initializer() {
  return context -> {
    Stetho.initializeWithDefaults(context);

    Timber.plant(new Timber.DebugTree());
    Timber.plant(new StethoTree());
  };
}
项目:droidconde-2016    文件:StethoInitializer.java   
public void init() {
    Timber.plant(new StethoTree());
    Stetho.initialize(
            Stetho.newInitializerBuilder(context)
                    .enableDumpapp(this)
                    .enableWebKitInspector(createWebkitModulesProvider())
                    .build());
}
项目:devfestnantes-2016    文件:StethoInitializer.java   
public void init() {
    Timber.plant(new StethoTree());
    Stetho.initialize(
            Stetho.newInitializerBuilder(context)
                    .enableDumpapp(this)
                    .enableWebKitInspector(createWebkitModulesProvider())
                    .build());
}
项目:mobilization-2016    文件:StethoInitializer.java   
public void init() {
    Timber.plant(new StethoTree());
    Stetho.initialize(
            Stetho.newInitializerBuilder(context)
                    .enableDumpapp(this)
                    .enableWebKitInspector(createWebkitModulesProvider())
                    .build());
}
项目:droidconat-2016    文件:StethoInitializer.java   
public void init() {
    Timber.plant(new StethoTree());
    Stetho.initialize(
            Stetho.newInitializerBuilder(context)
                    .enableDumpapp(this)
                    .enableWebKitInspector(createWebkitModulesProvider())
                    .build());
}
项目:devoxxfr-2016    文件:StethoInitializer.java   
public void init() {
    Timber.plant(new StethoTree());
    Stetho.initialize(
            Stetho.newInitializerBuilder(context)
                    .enableDumpapp(this)
                    .enableWebKitInspector(createWebkitModulesProvider())
                    .build());
}
项目:droidcongr-2016    文件:StethoInitializer.java   
public void init() {
    Timber.plant(new StethoTree());
    Stetho.initialize(
            Stetho.newInitializerBuilder(context)
                    .enableDumpapp(this)
                    .enableWebKitInspector(createWebkitModulesProvider())
                    .build());
}
项目:droidcontn-2016    文件:StethoInitializer.java   
public void init() {
    Timber.plant(new StethoTree());
    Stetho.initialize(
            Stetho.newInitializerBuilder(context)
                    .enableDumpapp(this)
                    .enableWebKitInspector(createWebkitModulesProvider())
                    .build());
}
项目:Qiitanium    文件:DebugAppLifecycleCallbacks.java   
@Override
protected void setupLogger() {
  Timber.plant(new Timber.DebugTree());
  Timber.plant(new StethoTree());
}