org.hawkular.accounts.common.internal.MsgLogger_$logger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hawkular-accounts-common Show documentation
Show all versions of hawkular-accounts-common Show documentation
Useful code for Accounts in general.
package org.hawkular.accounts.common.internal;
import java.io.Serializable;
import javax.annotation.Generated;
import java.lang.Throwable;
import java.lang.String;
import org.jboss.logging.Logger;
/**
* Warning this class consists of generated code.
*/
@Generated(value = "org.jboss.logging.processor.generator.model.MessageLoggerImplementor", date = "2016-07-15T12:05:46+0000")
public class MsgLogger_$logger implements MsgLogger,Serializable {
private static final long serialVersionUID = 1L;
private static final String FQCN = MsgLogger_$logger.class.getName();
public MsgLogger_$logger(final Logger log) {
this.log = log;
}
protected final Logger log;
@Override
public final void listOfSynonymsProvided() {
log.logf(FQCN, org.jboss.logging.Logger.Level.DEBUG, null, listOfSynonymsProvided$str());
}
private static final String listOfSynonymsProvided = "HAWKACC150000: List of host synonyms provided. Using the list instead of guessing.";
protected String listOfSynonymsProvided$str() {
return listOfSynonymsProvided;
}
@Override
public final void allLocalAddressesForSynonyms() {
log.logf(FQCN, org.jboss.logging.Logger.Level.DEBUG, null, allLocalAddressesForSynonyms$str());
}
private static final String allLocalAddressesForSynonyms = "HAWKACC150001: Bound to wildcard address 0.0.0.0, getting a list of all local IPs for Synonyms";
protected String allLocalAddressesForSynonyms$str() {
return allLocalAddressesForSynonyms;
}
@Override
public final void cannotDetermineIPForWildcardHost(final String host) {
log.logf(FQCN, org.jboss.logging.Logger.Level.DEBUG, null, cannotDetermineIPForWildcardHost$str(), host);
}
private static final String cannotDetermineIPForWildcardHost = "HAWKACC150002: Could not process what's the IP for the wildcard host: [%s]";
protected String cannotDetermineIPForWildcardHost$str() {
return cannotDetermineIPForWildcardHost;
}
@Override
public final void cannotDetermineIPForHost(final String host, final Throwable t) {
log.logf(FQCN, org.jboss.logging.Logger.Level.WARN, t, cannotDetermineIPForHost$str(), host);
}
private static final String cannotDetermineIPForHost = "HAWKACC150003: Could not process what's the IP for the host: [%s]";
protected String cannotDetermineIPForHost$str() {
return cannotDetermineIPForHost;
}
@Override
public final void cannotDetermineLocalIPs(final Throwable t) {
log.logf(FQCN, org.jboss.logging.Logger.Level.FATAL, t, cannotDetermineLocalIPs$str());
}
private static final String cannotDetermineLocalIPs = "HAWKACC150004: Could not process what are our IPs. Host synonyms will *not* work properly";
protected String cannotDetermineLocalIPs$str() {
return cannotDetermineLocalIPs;
}
@Override
public final void cannotConnectToCassandra(final Throwable t) {
log.logf(FQCN, org.jboss.logging.Logger.Level.FATAL, t, cannotConnectToCassandra$str());
}
private static final String cannotConnectToCassandra = "HAWKACC150005: Could not connect to Cassandra after enough attempts. Giving up. Reason";
protected String cannotConnectToCassandra$str() {
return cannotConnectToCassandra;
}
@Override
public final void attemptToConnectToCassandraFailed(final int attempt, final Throwable t) {
log.logf(FQCN, org.jboss.logging.Logger.Level.DEBUG, t, attemptToConnectToCassandraFailed$str(), attempt);
}
private static final String attemptToConnectToCassandraFailed = "HAWKACC150006: Cassandra is not available (yet?). Attempts left: [%d]. Reason";
protected String attemptToConnectToCassandraFailed$str() {
return attemptToConnectToCassandraFailed;
}
@Override
public final void cassandraNodesToUse(final String cassandraNodes) {
log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, null, cassandraNodesToUse$str(), cassandraNodes);
}
private static final String cassandraNodesToUse = "HAWKACC150007: Cassandra nodes to use: [%s]";
protected String cassandraNodesToUse$str() {
return cassandraNodesToUse;
}
@Override
public final void cassandraPortToUse(final String cassandraPort) {
log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, null, cassandraPortToUse$str(), cassandraPort);
}
private static final String cassandraPortToUse = "HAWKACC150008: Cassandra port to use: [%s]";
protected String cassandraPortToUse$str() {
return cassandraPortToUse;
}
@Override
public final void realmConfiguration(final String realmConfiguration) {
log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, null, realmConfiguration$str(), realmConfiguration);
}
private static final String realmConfiguration = "HAWKACC150009: Realm configuration: [%s]";
protected String realmConfiguration$str() {
return realmConfiguration;
}
@Override
public final void parsingRealmConfiguration() {
log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, null, parsingRealmConfiguration$str());
}
private static final String parsingRealmConfiguration = "HAWKACC150010: Parsing realm configuration.";
protected String parsingRealmConfiguration$str() {
return parsingRealmConfiguration;
}
@Override
public final void backendUrlIsSet(final String url) {
log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, null, backendUrlIsSet$str(), url);
}
private static final String backendUrlIsSet = "HAWKACC150011: auth-server-url-for-backend-requests is set, will use it when talking with Keycloak: [%s]";
protected String backendUrlIsSet$str() {
return backendUrlIsSet;
}
@Override
public final void backendUrlIsNotSet() {
log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, null, backendUrlIsNotSet$str());
}
private static final String backendUrlIsNotSet = "HAWKACC150012: auth-server-url-for-backend-requests is not set. Building it based on information we have.";
protected String backendUrlIsNotSet$str() {
return backendUrlIsNotSet;
}
@Override
public final void authServerUrlIsSet(final String url) {
log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, null, authServerUrlIsSet$str(), url);
}
private static final String authServerUrlIsSet = "HAWKACC150013: auth-server-url is set. Will use it when talking with Keycloak: [%s]";
protected String authServerUrlIsSet$str() {
return authServerUrlIsSet;
}
@Override
public final void settingAuthServerUrl(final String url) {
log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, null, settingAuthServerUrl$str(), url);
}
private static final String settingAuthServerUrl = "HAWKACC150014: Setting auth-server-url set to: [%s]";
protected String settingAuthServerUrl$str() {
return settingAuthServerUrl;
}
@Override
public final void executingAuthServerRequest(final String url, final String clientId, final String method) {
log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, null, executingAuthServerRequest$str(), url, clientId, method);
}
private static final String executingAuthServerRequest = "HAWKACC150015: Executing an Auth Server request. URL: [%s] , URL Parameters: omitted, Client ID: [%s], Secret: omitted, Method: [%s].";
protected String executingAuthServerRequest$str() {
return executingAuthServerRequest;
}
@Override
public final void requestExecuted(final int statusCode) {
log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, null, requestExecuted$str(), statusCode);
}
private static final String requestExecuted = "HAWKACC150017: Request executed. Status code: [%d].";
protected String requestExecuted$str() {
return requestExecuted;
}
@Override
public final void statusCodeNotSuccess() {
log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, null, statusCodeNotSuccess$str());
}
private static final String statusCodeNotSuccess = "HAWKACC150018: Status code is not a success code. Redirecting error stream of the request to our input stream.";
protected String statusCodeNotSuccess$str() {
return statusCodeNotSuccess;
}
@Override
public final void statusCodeSuccess() {
log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, null, statusCodeSuccess$str());
}
private static final String statusCodeSuccess = "HAWKACC150019: Status code is a success code. Redirecting input stream of the request to our input stream.";
protected String statusCodeSuccess$str() {
return statusCodeSuccess;
}
@Override
public final void responseBody(final String response) {
log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, null, responseBody$str(), response);
}
private static final String responseBody = "HAWKACC150020: Response body: [%s]";
protected String responseBody$str() {
return responseBody;
}
@Override
public final void accessTokenForUsername(final String username) {
log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, null, accessTokenForUsername$str(), username);
}
private static final String accessTokenForUsername = "HAWKACC150021: Attempting to get an access token for username [%s].";
protected String accessTokenForUsername$str() {
return accessTokenForUsername;
}
@Override
public final void refreshTokenForUsername(final String username) {
log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, null, refreshTokenForUsername$str(), username);
}
private static final String refreshTokenForUsername = "HAWKACC150022: Attempting to get a refresh token for username [%s].";
protected String refreshTokenForUsername$str() {
return refreshTokenForUsername;
}
@Override
public final void offlineTokenForUsername(final String username) {
log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, null, offlineTokenForUsername$str(), username);
}
private static final String offlineTokenForUsername = "HAWKACC150023: Attempting to get an offline token for username [%s].";
protected String offlineTokenForUsername$str() {
return offlineTokenForUsername;
}
}