- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
60 lines
1.5 KiB
Java
60 lines
1.5 KiB
Java
package com.firemonkeys.cloudcellapi;
|
|
|
|
import android.util.Log;
|
|
import com.ironsource.v8;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class Logging {
|
|
private static final String LOG_NAMESPACE = "CCJ";
|
|
private static boolean m_Debug;
|
|
private static boolean m_Logging;
|
|
|
|
public static void setDebugLogging(boolean z) {
|
|
m_Debug = z;
|
|
}
|
|
|
|
public static void setLogging(boolean z) {
|
|
m_Logging = z;
|
|
}
|
|
|
|
public static void enableDebugLogging() {
|
|
setDebugLogging(true);
|
|
}
|
|
|
|
public static void enableLogging() {
|
|
setLogging(true);
|
|
}
|
|
|
|
public static void CC_TRACE(Object obj, String str) {
|
|
if (m_Logging && m_Debug) {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(v8.i.d);
|
|
sb.append(obj.toString());
|
|
sb.append("] ");
|
|
sb.append(str);
|
|
}
|
|
}
|
|
|
|
public static void CC_INFO(Object obj, String str) {
|
|
if (m_Logging && m_Debug) {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(v8.i.d);
|
|
sb.append(obj.toString());
|
|
sb.append("] ");
|
|
sb.append(str);
|
|
}
|
|
}
|
|
|
|
public static void CC_WARNING(Object obj, String str) {
|
|
if (m_Logging) {
|
|
Log.w(LOG_NAMESPACE, v8.i.d + obj.toString() + "] " + str);
|
|
}
|
|
}
|
|
|
|
public static void CC_ERROR(Object obj, String str) {
|
|
if (m_Logging) {
|
|
Log.e(LOG_NAMESPACE, v8.i.d + obj.toString() + "] " + str);
|
|
}
|
|
}
|
|
}
|