If you want it to only be initialized once on call...
# android
a
If you want it to only be initialized once on call try
Copy code
private val httpLogging by lazy { HttpLoggingInterceptor().apply { level = HttpLoggingInterceptor.Level.BODY } }