package 㳳.ῲ.K;

import android.util.Log;
import java.io.PrintStream;
import java.util.logging.Level;
import ඓ.K.K.K.C1293;

/* renamed from: 㳳.ῲ.K.㴹  reason: contains not printable characters */
/* compiled from: Logger */
public interface AbstractC2417 {

    /* renamed from: 㳳.ῲ.K.㴹$ῲ  reason: contains not printable characters */
    /* compiled from: Logger */
    public static class C2418 implements AbstractC2417 {
        @Override // 㳳.ῲ.K.AbstractC2417
        /* renamed from: K  reason: contains not printable characters */
        public void m6475(Level level, String str) {
            PrintStream printStream = System.out;
            printStream.println("[" + level + "] " + str);
        }

        @Override // 㳳.ῲ.K.AbstractC2417
        /* renamed from: K  reason: contains not printable characters */
        public void m6476(Level level, String str, Throwable th) {
            PrintStream printStream = System.out;
            printStream.println("[" + level + "] " + str);
            th.printStackTrace(System.out);
        }
    }

    /* renamed from: 㳳.ῲ.K.㴹$K  reason: contains not printable characters */
    /* compiled from: Logger */
    public static class C2419 implements AbstractC2417 {

        /* renamed from: ῲ  reason: contains not printable characters */
        public static final boolean f8351;

        /* renamed from: K  reason: contains not printable characters */
        public final String f8352;

        static {
            boolean z = false;
            try {
                if (Class.forName("android.util.Log") != null) {
                    z = true;
                }
            } catch (ClassNotFoundException unused) {
            }
            f8351 = z;
        }

        public C2419(String str) {
            this.f8352 = str;
        }

        /* renamed from: K  reason: contains not printable characters */
        public static boolean m6477() {
            return f8351;
        }

        @Override // 㳳.ῲ.K.AbstractC2417
        /* renamed from: K  reason: contains not printable characters */
        public void m6479(Level level, String str) {
            if (level != Level.OFF) {
                Log.println(m6478(level), this.f8352, str);
            }
        }

        @Override // 㳳.ῲ.K.AbstractC2417
        /* renamed from: K  reason: contains not printable characters */
        public void m6480(Level level, String str, Throwable th) {
            if (level != Level.OFF) {
                int r3 = m6478(level);
                String str2 = this.f8352;
                StringBuilder r4 = C1293.m3402(str, "\n");
                r4.append(Log.getStackTraceString(th));
                Log.println(r3, str2, r4.toString());
            }
        }

        /* renamed from: K  reason: contains not printable characters */
        public int m6478(Level level) {
            int intValue = level.intValue();
            if (intValue < 800) {
                return intValue < 500 ? 2 : 3;
            }
            if (intValue < 900) {
                return 4;
            }
            return intValue < 1000 ? 5 : 6;
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    void m6473(Level level, String str);

    /* renamed from: K  reason: contains not printable characters */
    void m6474(Level level, String str, Throwable th);
}
