38 lines
830 B
Java
38 lines
830 B
Java
package o;
|
|
|
|
import java.util.logging.Level;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class gmC implements InterfaceC15299gmn {
|
|
private final String e;
|
|
|
|
public gmC(String str) {
|
|
this.e = str;
|
|
}
|
|
|
|
@Override // o.InterfaceC15299gmn
|
|
public final void c(Level level, String str) {
|
|
if (level != Level.OFF) {
|
|
a(level);
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC15299gmn
|
|
public final void b(Level level, String str, Throwable th) {
|
|
if (level != Level.OFF) {
|
|
a(level);
|
|
}
|
|
}
|
|
|
|
private static int a(Level level) {
|
|
int intValue = level.intValue();
|
|
if (intValue < 800) {
|
|
return intValue < 500 ? 2 : 3;
|
|
}
|
|
if (intValue < 900) {
|
|
return 4;
|
|
}
|
|
return intValue < 1000 ? 5 : 6;
|
|
}
|
|
}
|