Updated on 2026-08-14
This commit is contained in:
parent
0c638c7c96
commit
86ca9ebbc9
2 changed files with 9 additions and 7 deletions
|
|
@ -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(),
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -31,4 +31,4 @@ internal fun OkHttpClient.Builder.allowLogging(): OkHttpClient.Builder {
|
|||
} else {
|
||||
this
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue