io.narayana.lra.proxy.logging.lraI18NLogger_$logger Maven / Gradle / Ivy
package io.narayana.lra.proxy.logging;
import java.io.Serializable;
import javax.annotation.Generated;
import java.lang.Throwable;
import java.lang.String;
import org.jboss.logging.Logger;
import java.util.concurrent.ExecutionException;
/**
* Warning this class consists of generated code.
*/
@Generated(value = "org.jboss.logging.processor.generator.model.MessageLoggerImplementor", date = "2020-05-20T08:03:45+0200")
public class lraI18NLogger_$logger implements lraI18NLogger,Serializable {
private static final long serialVersionUID = 1L;
private static final String FQCN = lraI18NLogger_$logger.class.getName();
public lraI18NLogger_$logger(final Logger log) {
this.log = log;
}
protected final Logger log;
@Override
public final void error_cannotSerializeParticipant(final String participantToString, final Throwable e) {
log.logf(FQCN, org.jboss.logging.Logger.Level.ERROR, e, error_cannotSerializeParticipant$str(), participantToString);
}
private static final String error_cannotSerializeParticipant = "LRAPROXY025001: Participant '%s' serialization problem";
protected String error_cannotSerializeParticipant$str() {
return error_cannotSerializeParticipant;
}
@Override
public final void error_participantExceptionOnCompletion(final String name, final ExecutionException e) {
log.logf(FQCN, org.jboss.logging.Logger.Level.ERROR, e, error_participantExceptionOnCompletion$str(), name);
}
private static final String error_participantExceptionOnCompletion = "LRAPROXY025003: Participant '%s' exception during completion";
protected String error_participantExceptionOnCompletion$str() {
return error_participantExceptionOnCompletion;
}
@Override
public final void error_gettingParticipantStatus(final String participant, final String lraId, final Throwable e) {
log.logf(FQCN, org.jboss.logging.Logger.Level.ERROR, e, error_gettingParticipantStatus$str(), participant, lraId);
}
private static final String error_gettingParticipantStatus = "LRAPROXY025004: Cannot get status of participant '%s' of lra id '%s'";
protected String error_gettingParticipantStatus$str() {
return error_gettingParticipantStatus;
}
@Override
public final void warn_cannotDeserializeParticipant(final String lraId, final String deserializer, final String message) {
log.logf(FQCN, org.jboss.logging.Logger.Level.WARN, null, warn_cannotDeserializeParticipant$str(), lraId, deserializer, message);
}
private static final String warn_cannotDeserializeParticipant = "LRAPROXY025005: Participant deserialization failed for LRA '%s' using deserializer class %s: '%s'";
protected String warn_cannotDeserializeParticipant$str() {
return warn_cannotDeserializeParticipant;
}
}