org.apache.activemq.artemis.osgi.ActiveMQOsgiLogger_$logger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of artemis-server-osgi Show documentation
Show all versions of artemis-server-osgi Show documentation
Combines the commons, core-client and server jars as they contain too many duplicate packages
to be deployed separately.
package org.apache.activemq.artemis.osgi;
import java.util.Locale;
import java.io.Serializable;
import javax.annotation.processing.Generated;
import org.jboss.logging.DelegatingBasicLogger;
import org.jboss.logging.BasicLogger;
import java.lang.String;
import org.jboss.logging.Logger;
import java.lang.Exception;
import static org.jboss.logging.Logger.Level.INFO;
import static org.jboss.logging.Logger.Level.WARN;
/**
* Warning this class consists of generated code.
*/
@Generated(value = "org.jboss.logging.processor.generator.model.MessageLoggerImplementor", date = "2022-04-27T20:21:48-0400")
public class ActiveMQOsgiLogger_$logger extends DelegatingBasicLogger implements ActiveMQOsgiLogger, BasicLogger, Serializable {
private static final long serialVersionUID = 1L;
private static final String FQCN = ActiveMQOsgiLogger_$logger.class.getName();
public ActiveMQOsgiLogger_$logger(final Logger log) {
super(log);
}
private static final Locale LOCALE = Locale.ROOT;
protected Locale getLoggingLocale() {
return LOCALE;
}
@Override
public final void brokerConfigFound(final String name, final String protocols) {
super.log.logv(FQCN, INFO, null, brokerConfigFound$str(), name, protocols);
}
protected String brokerConfigFound$str() {
return "AMQ581000: Broker config {0} found. Tracking protocols {1}";
}
@Override
public final void protocolWasAddedForBroker(final String protocol, final String name, final String message) {
super.log.logv(FQCN, INFO, null, protocolWasAddedForBroker$str(), protocol, name, message);
}
protected String protocolWasAddedForBroker$str() {
return "AMQ581001: Required protocol {0} was added for broker {1}. {2}";
}
@Override
public final void protocolWasRemovedForBroker(final String protocol, final String name, final String message) {
super.log.logv(FQCN, INFO, null, protocolWasRemovedForBroker$str(), protocol, name, message);
}
protected String protocolWasRemovedForBroker$str() {
return "AMQ581002: Required protocol {0} was removed for broker {1}. {2}";
}
@Override
public final void errorStartingBroker(final Exception e, final String name) {
super.log.logv(FQCN, WARN, e, errorStartingBroker$str(), name);
}
protected String errorStartingBroker$str() {
return "AMQ582000: Error starting broker: {0}";
}
@Override
public final void errorStoppingBroker(final Exception e, final String name) {
super.log.logv(FQCN, WARN, e, errorStoppingBroker$str(), name);
}
protected String errorStoppingBroker$str() {
return "AMQ582001: Error stopping broker: {0}";
}
@Override
public final void errorGettingDataSourceProviderInfo(final Exception e) {
super.log.logv(FQCN, WARN, e, errorGettingDataSourceProviderInfo$str());
}
protected String errorGettingDataSourceProviderInfo$str() {
return "AMQ582002: Error getting dataSource provider infos.";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy