All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.smallrye.reactive.messaging.gcp.pubsub.i18n.PubSubLogging_$logger Maven / Gradle / Ivy

The newest version!
package io.smallrye.reactive.messaging.gcp.pubsub.i18n;

import java.util.Locale;
import java.io.Serializable;
import org.jboss.logging.DelegatingBasicLogger;
import org.jboss.logging.BasicLogger;
import java.lang.Throwable;
import org.jboss.logging.Logger;
import com.google.pubsub.v1.PubsubMessage;
import com.google.pubsub.v1.TopicName;


import static org.jboss.logging.Logger.Level.TRACE;
import static org.jboss.logging.Logger.Level.INFO;

/**
 * Warning this class consists of generated code.
 */
public class PubSubLogging_$logger extends DelegatingBasicLogger implements PubSubLogging, BasicLogger, Serializable {
    private static final long serialVersionUID = 1L;
    private static final String FQCN = PubSubLogging_$logger.class.getName();
    public PubSubLogging_$logger(final Logger log) {
        super(log);
    }
    private static final Locale LOCALE = Locale.ROOT;
    protected Locale getLoggingLocale() {
        return LOCALE;
    }
    @Override
    public final void topicExistAlready(final TopicName topic, final Throwable t) {
        super.log.logf(FQCN, TRACE, t, topicExistAlready$str(), topic);
    }
    protected String topicExistAlready$str() {
        return "SRMSG14800: Topic %s already exists";
    }
    @Override
    public final void receivedMessage(final PubsubMessage message) {
        super.log.logf(FQCN, TRACE, null, receivedMessage$str(), message);
    }
    protected String receivedMessage$str() {
        return "SRMSG14801: Received pub/sub message %s";
    }
    @Override
    public final void adminClientEnabled() {
        super.log.logf(FQCN, INFO, null, adminClientEnabled$str());
    }
    protected String adminClientEnabled$str() {
        return "SRMSG14802: Admin client is enabled. The GCP Connector is trying to create topics / subscriptions";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy