package com.qianwen.core.http; import okhttp3.logging.HttpLoggingInterceptor; public enum LogLevel { NONE(HttpLoggingInterceptor.Level.NONE), BASIC(HttpLoggingInterceptor.Level.BASIC), HEADERS(HttpLoggingInterceptor.Level.HEADERS), BODY(HttpLoggingInterceptor.Level.BODY); private final HttpLoggingInterceptor.Level level; LogLevel(final HttpLoggingInterceptor.Level level) { this.level = level; } public HttpLoggingInterceptor.Level getLevel() { return this.level; } }