io.smallrye.graphql.client.impl.SmallRyeGraphQLClientLogging_$logger Maven / Gradle / Ivy
package io.smallrye.graphql.client.impl;
import java.util.Locale;
import java.io.Serializable;
import jakarta.json.JsonValue.ValueType;
import org.jboss.logging.Logger;
import static org.jboss.logging.Logger.Level.WARN;
/**
* Warning this class consists of generated code.
*/
public class SmallRyeGraphQLClientLogging_$logger implements SmallRyeGraphQLClientLogging, Serializable {
private static final long serialVersionUID = 1L;
private static final String FQCN = SmallRyeGraphQLClientLogging_$logger.class.getName();
public SmallRyeGraphQLClientLogging_$logger(final Logger log) {
this.log = log;
}
protected final Logger log;
private static final Locale LOCALE = Locale.ROOT;
protected Locale getLoggingLocale() {
return LOCALE;
}
@Override
public final void noDataInResponse() {
log.logf(FQCN, WARN, null, noDataInResponse$str());
}
protected String noDataInResponse$str() {
return "SRGQL030000: Received response containing no data";
}
@Override
public final void apisNotSet() {
log.logf(FQCN, WARN, null, apisNotSet$str());
}
protected String apisNotSet$str() {
return "SRGQL030001: The runtime did not set the `apis` field in `GraphQLClientsConfiguration`, so the bean is unable to locate configurations of typesafe clients";
}
@Override
public final void unknownPathSegmentType(final ValueType type) {
log.logf(FQCN, WARN, null, unknownPathSegmentType$str(), type);
}
protected String unknownPathSegmentType$str() {
return "SRGQL030002: Unsupported path segment type %s (expecting only String or Number), ignoring";
}
@Override
public final void unknownExtensionType(final ValueType valueType) {
log.logf(FQCN, WARN, null, unknownExtensionType$str(), valueType);
}
protected String unknownExtensionType$str() {
return "SRGQL030003: Unsupported extension type %s, ignoring";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy