Skip to content

Commit

Permalink
Release 2.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrivoruchko committed Mar 1, 2018
1 parent 47910bd commit c0cb706
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ package info.dvkr.screenstream
import android.app.Application
import android.util.Log
import info.dvkr.screenstream.di.koinModule
import org.koin.Koin
import org.koin.android.ext.android.startKoin
import org.koin.log.Logger
import timber.log.Timber


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import android.util.Log
import com.crashlytics.android.Crashlytics
import info.dvkr.screenstream.di.koinModule
import io.fabric.sdk.android.Fabric
import org.koin.Koin
import org.koin.android.ext.android.startKoin
import org.koin.log.Logger
import timber.log.Timber


Expand Down Expand Up @@ -38,7 +40,7 @@ class ScreenStreamApp : Application() {
override fun log(priority: Int, tag: String?, message: String, t: Throwable?) {
if (priority == Log.VERBOSE || priority == Log.DEBUG) return
Crashlytics.log(priority, tag, message)
t?.let { Crashlytics.logException(it, message) }
t?.let { Crashlytics.logException(it) }
}
}
}

0 comments on commit c0cb706

Please sign in to comment.