org.wildfly.common.ref.Log_$logger Maven / Gradle / Ivy
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 = "2019-02-11T09:49:08-0600")
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());
}
private static final String reapFailed = "COM03000: Reaping a reference failed";
protected String reapFailed$str() {
return reapFailed;
}
}