package o; import com.huawei.hms.android.SystemUtils; import java.io.Serializable; import java.util.logging.Level; import java.util.logging.Logger; /* renamed from: o.gkn, reason: case insensitive filesystem */ /* loaded from: classes6.dex */ public class C15227gkn implements InterfaceC15219gkf, Serializable { private transient Logger a; private String d; @Override // o.InterfaceC15219gkf public final void d(Object obj, Throwable th) { Level level = Level.FINE; String valueOf = String.valueOf(obj); if (this.a == null) { this.a = Logger.getLogger(null); } Logger logger = this.a; if (logger.isLoggable(level)) { StackTraceElement[] stackTrace = new Throwable().getStackTrace(); logger.logp(level, (String) null, (stackTrace == null || stackTrace.length <= 2) ? SystemUtils.UNKNOWN : stackTrace[2].getMethodName(), valueOf, th); } } @Override // o.InterfaceC15219gkf public final boolean e() { if (this.a == null) { this.a = Logger.getLogger(null); } return this.a.isLoggable(Level.FINE); } }