okhttp log not printing

Try to replace your PrettyLogger() with logger from HttpLoggingInterceptor

So replace yours:

val loggingInterceptor = HttpLoggingInterceptor(PrettyLogger())

in to:

val loggingInterceptor = HttpLoggingInterceptor()

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top