mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 16:42:30 -06:00
27 lines
873 B
Java
27 lines
873 B
Java
package io.sentry;
|
|
|
|
import java.io.IOException;
|
|
import java.util.Locale;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public enum SentryLevel implements JsonSerializable {
|
|
DEBUG,
|
|
INFO,
|
|
WARNING,
|
|
ERROR,
|
|
FATAL;
|
|
|
|
@Override // io.sentry.JsonSerializable
|
|
public void serialize(ObjectWriter objectWriter, ILogger iLogger) throws IOException {
|
|
objectWriter.value(name().toLowerCase(Locale.ROOT));
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
static final class Deserializer implements JsonDeserializer<SentryLevel> {
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // io.sentry.JsonDeserializer
|
|
public SentryLevel deserialize(JsonObjectReader jsonObjectReader, ILogger iLogger) throws Exception {
|
|
return SentryLevel.valueOf(jsonObjectReader.nextString().toUpperCase(Locale.ROOT));
|
|
}
|
|
}
|
|
}
|