Created
November 12, 2018 09:02
-
-
Save carotkut94/0b28c8aa29e5c4e336c235b3c87e6110 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.death.timberdemo; | |
import android.app.Application; | |
import timber.log.Timber; | |
public class ApplicationController extends Application { | |
@Override | |
public void onCreate() { | |
super.onCreate(); | |
if(BuildConfig.DEBUG){ | |
Timber.plant(new Timber.DebugTree()); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment