mirror of https://github.com/tasks/tasks
Add timber to wear app
parent
4b2bb87ecf
commit
393ad4977b
@ -0,0 +1,14 @@
|
||||
package org.tasks
|
||||
|
||||
import android.app.Application
|
||||
import timber.log.Timber
|
||||
|
||||
class WatchApp : Application() {
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
|
||||
if (BuildConfig.DEBUG) {
|
||||
Timber.plant(Timber.DebugTree())
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue