refactor: move logs to timber
This commit is contained in:
@@ -9,6 +9,7 @@ import com.bitcointxoko.gudariwallet.data.PaymentCacheRepository
|
||||
import com.bitcointxoko.gudariwallet.security.EncryptedSecretStore
|
||||
import com.bitcointxoko.gudariwallet.sync.HistoricalSyncWorkerFactory
|
||||
import com.bitcointxoko.gudariwallet.util.NotificationHelper
|
||||
import timber.log.Timber
|
||||
|
||||
class GudariWalletApplication : Application(), Configuration.Provider {
|
||||
|
||||
@@ -29,5 +30,8 @@ class GudariWalletApplication : Application(), Configuration.Provider {
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
NotificationHelper.createChannels(this) // moved from MainActivity
|
||||
if (BuildConfig.DEBUG) {
|
||||
Timber.plant(Timber.DebugTree())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user