- 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
67 lines
1.3 KiB
Java
67 lines
1.3 KiB
Java
package com.google.firebase.crashlytics.internal;
|
|
|
|
import android.util.Log;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Logger {
|
|
public static final Logger DEFAULT_LOGGER = new Logger("FirebaseCrashlytics");
|
|
public int logLevel = 4;
|
|
public final String tag;
|
|
|
|
public static Logger getLogger() {
|
|
return DEFAULT_LOGGER;
|
|
}
|
|
|
|
public Logger(String str) {
|
|
this.tag = str;
|
|
}
|
|
|
|
public final boolean canLog(int i) {
|
|
return this.logLevel <= i || Log.isLoggable(this.tag, i);
|
|
}
|
|
|
|
public void d(String str, Throwable th) {
|
|
canLog(3);
|
|
}
|
|
|
|
public void v(String str, Throwable th) {
|
|
canLog(2);
|
|
}
|
|
|
|
public void i(String str, Throwable th) {
|
|
canLog(4);
|
|
}
|
|
|
|
public void w(String str, Throwable th) {
|
|
if (canLog(5)) {
|
|
Log.w(this.tag, str, th);
|
|
}
|
|
}
|
|
|
|
public void e(String str, Throwable th) {
|
|
if (canLog(6)) {
|
|
Log.e(this.tag, str, th);
|
|
}
|
|
}
|
|
|
|
public void d(String str) {
|
|
d(str, null);
|
|
}
|
|
|
|
public void v(String str) {
|
|
v(str, null);
|
|
}
|
|
|
|
public void i(String str) {
|
|
i(str, null);
|
|
}
|
|
|
|
public void w(String str) {
|
|
w(str, null);
|
|
}
|
|
|
|
public void e(String str) {
|
|
e(str, null);
|
|
}
|
|
}
|