Files
rr3-apk/decompiled/sources/com/google/firebase/crashlytics/internal/Logger.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

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);
}
}