package a.a.a;

import android.text.TextUtils;
import android.util.Log;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

public class b {

    /* renamed from: a  reason: collision with root package name */
    private static String f1a = "easylog_";
    public static final int b = 0;
    public static final int c = 2;
    public static final int d = 3;
    public static final int e = 4;
    public static final int f = 5;
    public static final int g = 6;
    public static final int h = 7;
    private static int i;

    public interface a {
        String a();
    }

    @Retention(RetentionPolicy.SOURCE)
    /* renamed from: a.a.a.b$b  reason: collision with other inner class name */
    public @interface AbstractC0000b {
    }

    public static void a(int i2) {
        i = i2;
    }

    public static void a(String str) {
        if (TextUtils.isEmpty(str)) {
            str = "";
        }
        f1a = str;
    }

    public static void a(String str, a aVar) {
        if (i <= 3) {
            Log.i(f1a + str, aVar.a());
        }
    }

    public static void a(String str, String str2) {
        if (i <= 3) {
            Log.i(f1a + str, str2);
        }
    }

    public static void a(String str, String str2, Throwable th) {
        if (i <= 3) {
            Log.i(f1a + str, str2, th);
        }
    }

    public static void b(String str, String str2) {
        if (i <= 6) {
            Log.e(f1a + str, str2);
        }
    }

    public static void b(String str, String str2, Throwable th) {
        if (i <= 6) {
            Log.e(f1a + str, str2, th);
        }
    }

    public static void c(String str, String str2) {
        if (i <= 4) {
            Log.i(f1a + str, str2);
        }
    }

    public static void c(String str, String str2, Throwable th) {
        if (i <= 4) {
            Log.i(f1a + str, str2, th);
        }
    }

    public static void d(String str, String str2) {
        if (i <= 2) {
            Log.v(f1a + str, str2);
        }
    }

    public static void d(String str, String str2, Throwable th) {
        if (i <= 2) {
            Log.v(f1a + str, str2, th);
        }
    }

    public static void e(String str, String str2) {
        if (i <= 5) {
            Log.w(f1a + str, str2);
        }
    }

    public static void e(String str, String str2, Throwable th) {
        if (i <= 5) {
            Log.w(f1a + str, str2, th);
        }
    }
}
