Package com.bybit.api.client.log
Class Slf4jLoggingInterceptor
- java.lang.Object
-
- com.bybit.api.client.log.Slf4jLoggingInterceptor
-
- All Implemented Interfaces:
okhttp3.Interceptor
public class Slf4jLoggingInterceptor extends Object implements okhttp3.Interceptor
Logging Interceptor
-
-
Constructor Summary
Constructors Constructor Description Slf4jLoggingInterceptor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidHandleLoggingInterceptor(okhttp3.OkHttpClient.Builder clientBuilder, String logOption)okhttp3.Responseintercept(okhttp3.Interceptor.Chain chain)
-
-
-
Method Detail
-
intercept
@NotNull public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException- Specified by:
interceptin interfaceokhttp3.Interceptor- Throws:
IOException
-
HandleLoggingInterceptor
public static void HandleLoggingInterceptor(okhttp3.OkHttpClient.Builder clientBuilder, String logOption)
-
-