sanitizedHeaders
Allows you to sanitize sensitive headers to avoid their values appearing in the logs. In the example below, Authorization header value will be replaced with '***' when logging:
Okhttp3Interceptor(logcat)
.sanitizedHeaders("Authorization","***")
Content copied to clipboard
Since
1.3.9
Since
1.3.7