Package io.getstream.services.framework
Class HttpLoggingInterceptor
java.lang.Object
io.getstream.services.framework.HttpLoggingInterceptor
- All Implemented Interfaces:
okhttp3.Interceptor
Deprecated.
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDeprecated.static interfaceDeprecated.Nested classes/interfaces inherited from interface okhttp3.Interceptor
okhttp3.Interceptor.Chain, okhttp3.Interceptor.Companion -
Field Summary
Fields inherited from interface okhttp3.Interceptor
Companion -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Deprecated. -
Method Summary
-
Constructor Details
-
HttpLoggingInterceptor
public HttpLoggingInterceptor()Deprecated. -
HttpLoggingInterceptor
Deprecated.
-
-
Method Details
-
setLevel
Deprecated.Change the level at which this interceptor logs. -
getLevel
Deprecated. -
intercept
Deprecated.- Specified by:
interceptin interfaceokhttp3.Interceptor- Throws:
IOException
-
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.