13 lines
306 B
Kotlin
13 lines
306 B
Kotlin
package org.moire.ultrasonic.log
|
|
|
|
import okhttp3.logging.HttpLoggingInterceptor
|
|
import timber.log.Timber
|
|
|
|
/**
|
|
* Timber Logging implementation for HttpLoggingInterceptor
|
|
*/
|
|
class TimberOkHttpLogger : HttpLoggingInterceptor.Logger {
|
|
override fun log(message: String) {
|
|
Timber.d(message)
|
|
}
|
|
} |