Skip to content

Commit

Permalink
Merge pull request #736 from DroidKaigi/disablelog-for-release
Browse files Browse the repository at this point in the history
Disable log for release
  • Loading branch information
takahirom authored Feb 2, 2019
2 parents 095a5c8 + 76acfaa commit 0b7023d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ class DebugApp : App() {
}

override fun setupLogHandler() {
enableLogCatLogging()
enableLogcatLogging()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,9 @@ open class App : DaggerApplication() {
open fun setupLogHandler() {
Fabric.with(this, Crashlytics())
Timber.plant(CrashlyticsTree())
enableLogCatLogging()
}

fun enableLogCatLogging() {
fun enableLogcatLogging() {
Timber.plant(LogcatTree("droidkaigi"))
}

Expand Down

0 comments on commit 0b7023d

Please sign in to comment.