org.wildfly.common.ref.Log_$logger Maven / Gradle / Ivy
Go to download
This artifact provides a single jar that contains all classes required to use remote EJB and JMS, including
all dependencies. It is intended for use by those not using maven, maven users should just import the EJB and
JMS BOM's instead (shaded JAR's cause lots of problems with maven, as it is very easy to inadvertently end up
with different versions on classes on the class path).
The newest version!
package org.wildfly.common.ref;
import java.util.Locale;
import java.io.Serializable;
import javax.annotation.Generated;
import java.lang.Throwable;
import org.jboss.logging.Logger;
import static org.jboss.logging.Logger.Level.DEBUG;
/**
* Warning this class consists of generated code.
*/
@Generated(value = "org.jboss.logging.processor.generator.model.MessageLoggerImplementor", date = "2023-11-02T07:51:17-0500")
public class Log_$logger implements Log, Serializable {
private static final long serialVersionUID = 1L;
private static final String FQCN = Log_$logger.class.getName();
public Log_$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 reapFailed(final Throwable cause) {
log.logf(FQCN, DEBUG, cause, reapFailed$str());
}
protected String reapFailed$str() {
return "COM03000: Reaping a reference failed";
}
}