I am trying to intercept an http request to see what the actual data sent and received is, however nothing shows up in my log.
@WorkerThread
suspend fun webData() {
        val interceptor = HttpLoggingInterceptor()
        interceptor.level = HttpLoggingInterceptor.Level.BODY
        val retrofit = Retrofit.Builder().baseUrl(WEB_SERVICE_URL).addConverterFactory(MoshiConverterFactory.create()).build()
        val service = retrofit.create(GetService::class.java)
        val serviceData = service.getData().body()
        getData.postValue(serviceData)
    }
}
