Updated on 2026-08-14

This commit is contained in:
Tangem 2023-07-10 13:02:08 +03:00
parent 0c638c7c96
commit 86ca9ebbc9
2 changed files with 9 additions and 7 deletions

View file

@ -174,11 +174,13 @@ class TapApplication : Application(), ImageLoaderFactory {
)
if (BuildConfig.DEBUG) {
Timber.plant(object : Timber.DebugTree() {
override fun log(priority: Int, tag: String?, message: String, t: Throwable?) {
Logger.log(priority, tag, message, t)
}
})
Timber.plant(
object : Timber.DebugTree() {
override fun log(priority: Int, tag: String?, message: String, t: Throwable?) {
Logger.log(priority, tag, message, t)
}
},
)
}
foregroundActivityObserver = ForegroundActivityObserver()
@ -197,7 +199,7 @@ class TapApplication : Application(), ImageLoaderFactory {
if (LogConfig.network.blockchainSdkNetwork) {
BlockchainSdkRetrofitBuilder.interceptors = listOf(
createNetworkLoggingInterceptor()
createNetworkLoggingInterceptor(),
)
}

View file

@ -31,4 +31,4 @@ internal fun OkHttpClient.Builder.allowLogging(): OkHttpClient.Builder {
} else {
this
}
}
}