Search in sources :

Example 1 with HttpLoggingInterceptor

use of com.androidnetworking.interceptors.HttpLoggingInterceptor in project Fast-Android-Networking by amitshekhariitbhu.

the class InternalNetworking method enableLogging.

public static void enableLogging(Level level) {
    HttpLoggingInterceptor logging = new HttpLoggingInterceptor();
    logging.setLevel(level);
    sHttpClient = getClient().newBuilder().addInterceptor(logging).build();
}
Also used : HttpLoggingInterceptor(com.androidnetworking.interceptors.HttpLoggingInterceptor)

Aggregations

HttpLoggingInterceptor (com.androidnetworking.interceptors.HttpLoggingInterceptor)1