package com.prime31;

import android.util.Log;

/* loaded from: /storage/emulated/0/Documents/jadec/sources/com.UBI.A90.WW/dex-files/2.dex */
public class IABConstants {
    public static boolean DEBUG = false;
    private static final String TAG = "Prime31-HD";

    public static void logDebug(String log) {
        if (DEBUG) {
            Log.i(TAG, log);
        }
    }

    public static void logEntering(String klass, String method) {
        if (DEBUG) {
            Log.i(TAG, String.valueOf(klass) + "." + method + "()");
        }
    }

    public static void logEntering(String klass, String method, Object param) {
        if (DEBUG) {
            Log.i(TAG, String.valueOf(klass) + "." + method + "( " + param + " )");
        }
    }

    public static void logEntering(String klass, String method, Object[] params) {
        if (DEBUG) {
            String prefix = "";
            StringBuilder b = new StringBuilder();
            for (Object p : params) {
                b.append(prefix);
                b.append(p);
                prefix = ", ";
            }
            Log.i(TAG, String.valueOf(klass) + "." + method + "( " + b.toString() + " )");
        }
    }
}
