package com.veyndan.redditclient;

import android.app.Application;

import com.squareup.leakcanary.LeakCanary;
import com.twitter.sdk.android.Twitter;
import com.twitter.sdk.android.core.TwitterAuthConfig;

import io.fabric.sdk.android.Fabric;
import timber.log.Timber;

public class RedditClientApp extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        if (BuildConfig.DEBUG) {
            Timber.plant(new Timber.DebugTree());
        }
        final TwitterAuthConfig authConfig = new TwitterAuthConfig(Config.TWITTER_KEY, Config.TWITTER_SECRET);
        Fabric.with(this, new Twitter(authConfig));
        LeakCanary.install(this);
    }
}

@@ -465,16 +465,298 @@
 ugTree()
+ %7B%0A                @Override%0A                protected void log(final int priority, final String tag, final String message,%0A                                   final Throwable t) %7B%0A                    super.log(priority, %22veyndan_%22 + tag, message, t);%0A                %7D%0A            %7D
 );%0A     

Prepend 'veyndan_' tag to each Timber log for easy logcat usage