Initial import of ADIF API reverse-engineering toolkit

This commit is contained in:
2025-12-16 08:37:56 +01:00
commit 60388529c1
11486 changed files with 1086536 additions and 0 deletions

View File

@@ -0,0 +1,83 @@
package com.google.firebase.crashlytics.internal;
import android.util.Log;
/* loaded from: classes3.dex */
public class Logger {
private int logLevel = 4;
private final String tag;
public static final String TAG = "FirebaseCrashlytics";
static final Logger DEFAULT_LOGGER = new Logger(TAG);
public Logger(String str) {
this.tag = str;
}
private boolean canLog(int i) {
return this.logLevel <= i || Log.isLoggable(this.tag, i);
}
public static Logger getLogger() {
return DEFAULT_LOGGER;
}
public void d(String str, Throwable th) {
if (canLog(3)) {
Log.d(this.tag, str, th);
}
}
public void e(String str, Throwable th) {
if (canLog(6)) {
Log.e(this.tag, str, th);
}
}
public void i(String str, Throwable th) {
if (canLog(4)) {
Log.i(this.tag, str, th);
}
}
public void log(int i, String str) {
log(i, str, false);
}
public void v(String str, Throwable th) {
if (canLog(2)) {
Log.v(this.tag, str, th);
}
}
public void w(String str, Throwable th) {
if (canLog(5)) {
Log.w(this.tag, str, th);
}
}
public void log(int i, String str, boolean z3) {
if (z3 || canLog(i)) {
Log.println(i, this.tag, str);
}
}
public void d(String str) {
d(str, null);
}
public void e(String str) {
e(str, null);
}
public void i(String str) {
i(str, null);
}
public void v(String str) {
v(str, null);
}
public void w(String str) {
w(str, null);
}
}