Class HttpLoggingInterceptor

java.lang.Object
io.getstream.services.framework.HttpLoggingInterceptor
All Implemented Interfaces:
okhttp3.Interceptor

@Deprecated public final class HttpLoggingInterceptor extends Object implements okhttp3.Interceptor
Deprecated.
Superseded by the SLF4J structured log events emitted by the SDK (inject a logger via StreamClientOptions.setLogger). Kept for backward compatibility. Secret headers, secret body keys, and secret URL query values (api_key/api_secret/ token) are now redacted in its output.
An OkHttp interceptor which logs request and response information. Can be applied as an application interceptor or as a network interceptor.

The format of the logs created by this class should not be considered stable and may change slightly between releases. If you need a stable logging format, use your own interceptor.