io.smallrye.openapi.vertx.VertxLogging_$logger Maven / Gradle / Ivy
The newest version!
package io.smallrye.openapi.vertx;
import java.util.Locale;
import java.io.Serializable;
import java.lang.String;
import org.jboss.logging.Logger;
import static org.jboss.logging.Logger.Level.DEBUG;
import static org.jboss.logging.Logger.Level.WARN;
/**
* Warning this class consists of generated code.
*/
public class VertxLogging_$logger implements VertxLogging, Serializable {
private static final long serialVersionUID = 1L;
private static final String FQCN = VertxLogging_$logger.class.getName();
public VertxLogging_$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 ignoringAnnotation(final String className) {
log.logf(FQCN, WARN, null, ignoringAnnotation$str(), className);
}
protected String ignoringAnnotation$str() {
return "SROAP14000: Ignoring %s annotation that is not on a method";
}
@Override
public final void processingRouteClass(final String className) {
log.logf(FQCN, DEBUG, null, processingRouteClass$str(), className);
}
protected String processingRouteClass$str() {
return "SROAP14001: Processing class with Vert.x routes: %s";
}
@Override
public final void processingMethod(final String methodName) {
log.logf(FQCN, DEBUG, null, processingMethod$str(), methodName);
}
protected String processingMethod$str() {
return "SROAP14002: Processing Vert.x method: %s";
}
@Override
public final void missingPathSegment(final String segment) {
log.logf(FQCN, WARN, null, missingPathSegment$str(), segment);
}
protected String missingPathSegment$str() {
return "SROAP14003: Matrix parameter references missing path segment: %s";
}
@Override
public final void invalidDefault(final String segment, final String primitive) {
log.logf(FQCN, WARN, null, invalidDefault$str(), segment, primitive);
}
protected String invalidDefault$str() {
return "SROAP14004: Value '%s' is not a valid %s default";
}
}