//logging-interceptor/okhttp3.logging/HttpLoggingInterceptor/setLevel
setLevel¶
[jvm]\ fun setLevel(level: HttpLoggingInterceptor.Level): HttpLoggingInterceptor
Sets the level and returns this.
This was deprecated in OkHttp 4.0 in favor of the level val. In OkHttp 4.3 it is un-deprecated because Java callers can’t chain when assigning Kotlin vals. (The getter remains deprecated).