All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.undertow.websockets.core.WebSocketLogger_$logger Maven / Gradle / Ivy

package io.undertow.websockets.core;

import java.util.Locale;
import java.io.Serializable;
import javax.annotation.processing.Generated;
import org.jboss.logging.DelegatingBasicLogger;
import org.jboss.logging.BasicLogger;
import java.lang.Throwable;
import io.undertow.websockets.WebSocketExtension.Parameter;
import java.lang.Object;
import org.jboss.logging.Logger;


import static org.jboss.logging.Logger.Level.ERROR;
import static org.jboss.logging.Logger.Level.DEBUG;
import static org.jboss.logging.Logger.Level.WARN;

/**
 * Warning this class consists of generated code.
 */
@Generated(value = "org.jboss.logging.processor.generator.model.MessageLoggerImplementor", date = "2024-06-20T05:03:44-0300")
public class WebSocketLogger_$logger extends DelegatingBasicLogger implements WebSocketLogger, BasicLogger, Serializable {
    private static final long serialVersionUID = 1L;
    private static final String FQCN = WebSocketLogger_$logger.class.getName();
    public WebSocketLogger_$logger(final Logger log) {
        super(log);
    }
    private static final Locale LOCALE = Locale.ROOT;
    protected Locale getLoggingLocale() {
        return LOCALE;
    }
    @Override
    public final void decodingFrameWithOpCode(final int opCode) {
        super.log.logf(FQCN, DEBUG, null, decodingFrameWithOpCode$str(), opCode);
    }
    protected String decodingFrameWithOpCode$str() {
        return "UT025003: Decoding WebSocket Frame with opCode %s";
    }
    @Override
    public final void unhandledErrorInAnnotatedEndpoint(final Object instance, final Throwable thr) {
        super.log.logf(FQCN, ERROR, thr, unhandledErrorInAnnotatedEndpoint$str(), instance);
    }
    protected String unhandledErrorInAnnotatedEndpoint$str() {
        return "UT025007: Unhandled exception for annotated endpoint %s";
    }
    @Override
    public final void incorrectExtensionParameter(final Parameter param) {
        super.log.logf(FQCN, WARN, null, incorrectExtensionParameter$str(), param);
    }
    protected String incorrectExtensionParameter$str() {
        return "UT025008: Incorrect parameter %s for extension";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy