mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-12-05 20:09:49 +01:00
20 lines
1 KiB
Java
20 lines
1 KiB
Java
package okhttp3.internal.platform.android;
|
|
|
|
import java.util.logging.Level;
|
|
import java.util.logging.LogRecord;
|
|
import kotlin.Metadata;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\b\n\u0002\u0018\u0002\n\u0002\b\u0003\"\u0018\u0010\u0000\u001a\u00020\u0001*\u00020\u00028BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\u0003\u0010\u0004¨\u0006\u0005"}, d2 = {"androidLevel", "", "Ljava/util/logging/LogRecord;", "getAndroidLevel", "(Ljava/util/logging/LogRecord;)I", "okhttp"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes10.dex */
|
|
public final class AndroidLogKt {
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static final int getAndroidLevel(LogRecord logRecord) {
|
|
int intValue = logRecord.getLevel().intValue();
|
|
Level level = Level.INFO;
|
|
if (intValue > level.intValue()) {
|
|
return 5;
|
|
}
|
|
return logRecord.getLevel().intValue() == level.intValue() ? 4 : 3;
|
|
}
|
|
}
|