what-the-bank/sources/okhttp3/internal/platform/android/AndroidLogKt.java

16 lines
497 B
Java

package okhttp3.internal.platform.android;
import java.util.logging.Level;
import java.util.logging.LogRecord;
/* loaded from: classes.dex */
public final class AndroidLogKt {
/* JADX INFO: Access modifiers changed from: private */
public static final int getAndroidLevel(LogRecord logRecord) {
if (logRecord.getLevel().intValue() > Level.INFO.intValue()) {
return 5;
}
return logRecord.getLevel().intValue() == Level.INFO.intValue() ? 4 : 3;
}
}