org.apache.activemq.artemis.ActiveMQWebLogger_impl Maven / Gradle / Ivy
/* This class is auto generated by org.apache.activemq.artemis.logs.annotation.processor.LogAnnotationProcessor
and it inherits whatever license is declared at org.apache.activemq.artemis.ActiveMQWebLogger */
package org.apache.activemq.artemis;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.helpers.FormattingTuple;
import org.slf4j.helpers.MessageFormatter;
// @org.apache.activemq.artemis.logs.annotation.LogBundle(retiredIDs={244003}, regexID="24[0-9]{4}", projectCode="AMQ")
public class ActiveMQWebLogger_impl implements ActiveMQWebLogger
{
private final Logger logger;
private static void _copyStackTraceMinusOne(final Throwable e) {
final StackTraceElement[] st = e.getStackTrace();
e.setStackTrace(java.util.Arrays.copyOfRange(st, 1, st.length));
}
public ActiveMQWebLogger_impl(Logger logger ) {
this.logger = logger;
}
// @org.apache.activemq.artemis.logs.annotation.LogMessage(loggerName=\"\", id=241001, value=\"HTTP Server started at {}\", level=INFO)
@Override
public void webserverStarted(java.lang.String bind) {
if (logger.isInfoEnabled()) {
logger.info("AMQ241001: HTTP Server started at {}", bind);
}
}
// @org.apache.activemq.artemis.logs.annotation.LogMessage(loggerName=\"\", id=241002, value=\"Artemis Jolokia REST API available at {}\", level=INFO)
@Override
public void jolokiaAvailable(java.lang.String bind) {
if (logger.isInfoEnabled()) {
logger.info("AMQ241002: Artemis Jolokia REST API available at {}", bind);
}
}
// @org.apache.activemq.artemis.logs.annotation.LogMessage(loggerName=\"\", id=241003, value=\"Starting embedded web server\", level=INFO)
@Override
public void startingEmbeddedWebServer() {
if (logger.isInfoEnabled()) {
logger.info("AMQ241003: Starting embedded web server");
}
}
// @org.apache.activemq.artemis.logs.annotation.LogMessage(loggerName=\"\", id=241004, value=\"Artemis Console available at {}\", level=INFO)
@Override
public void consoleAvailable(java.lang.String bind) {
if (logger.isInfoEnabled()) {
logger.info("AMQ241004: Artemis Console available at {}", bind);
}
}
// @org.apache.activemq.artemis.logs.annotation.LogMessage(loggerName=\"\", id=241005, value=\"Stopping embedded web server\", level=INFO)
@Override
public void stoppingEmbeddedWebServer() {
if (logger.isInfoEnabled()) {
logger.info("AMQ241005: Stopping embedded web server");
}
}
// @org.apache.activemq.artemis.logs.annotation.LogMessage(loggerName=\"\", id=241006, value=\"Stopped embedded web server\", level=INFO)
@Override
public void stoppedEmbeddedWebServer() {
if (logger.isInfoEnabled()) {
logger.info("AMQ241006: Stopped embedded web server");
}
}
// @org.apache.activemq.artemis.logs.annotation.LogMessage(loggerName=\"\", id=244005, value=\"Web customizer {} not loaded: {}\", level=WARN)
@Override
public void customizerNotLoaded(java.lang.String customizer, java.lang.Throwable t) {
if (logger.isWarnEnabled()) {
logger.warn("AMQ244005: Web customizer {} not loaded: {}", customizer, t);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy