Last active
April 13, 2018 19:46
-
-
Save jdsingh/69f61f96e8d021b5594f1034cd0667a7 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
if (BuildConfig.DEBUG) { | |
Timber.plant(Timber.DebugTree()) | |
} else { | |
val papertrailTree = PapertrailTree( | |
"MyLogger", "MyApp", PAPERTRAIL_HOST, PAPERTRAIL_PORT | |
) | |
Timber.plant(papertrailTree) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment