package com.parse;

import android.annotation.SuppressLint;
import android.util.Log;

/* JADX INFO: loaded from: classes.dex */
public class PLog {
    @SuppressLint({"WrongConstant"})
    public static void log(int i, String str, String str2, Throwable th) {
        if (i >= Integer.MAX_VALUE) {
            if (th == null) {
                Log.println(Integer.MAX_VALUE, str, str2);
                return;
            }
            Log.println(Integer.MAX_VALUE, str, str2 + '\n' + Log.getStackTraceString(th));
        }
    }

    public static void w(String str, String str2) {
        log(5, str, str2, null);
    }
}
