56 lines
1.3 KiB
Java
56 lines
1.3 KiB
Java
package com.tencent.mm.opensdk.utils;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class Log {
|
|
private static ILog logImpl;
|
|
|
|
public static void d(String str, String str2) {
|
|
ILog iLog = logImpl;
|
|
if (iLog == null) {
|
|
android.util.Log.d(str, str2);
|
|
} else {
|
|
iLog.d(str, str2);
|
|
}
|
|
}
|
|
|
|
public static void e(String str, String str2) {
|
|
ILog iLog = logImpl;
|
|
if (iLog == null) {
|
|
android.util.Log.e(str, str2);
|
|
} else {
|
|
iLog.e(str, str2);
|
|
}
|
|
}
|
|
|
|
public static void i(String str, String str2) {
|
|
ILog iLog = logImpl;
|
|
if (iLog == null) {
|
|
android.util.Log.i(str, str2);
|
|
} else {
|
|
iLog.i(str, str2);
|
|
}
|
|
}
|
|
|
|
public static void setLogImpl(ILog iLog) {
|
|
logImpl = iLog;
|
|
}
|
|
|
|
public static void v(String str, String str2) {
|
|
ILog iLog = logImpl;
|
|
if (iLog == null) {
|
|
android.util.Log.v(str, str2);
|
|
} else {
|
|
iLog.v(str, str2);
|
|
}
|
|
}
|
|
|
|
public static void w(String str, String str2) {
|
|
ILog iLog = logImpl;
|
|
if (iLog == null) {
|
|
android.util.Log.w(str, str2);
|
|
} else {
|
|
iLog.w(str, str2);
|
|
}
|
|
}
|
|
}
|