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

io.undertow.jakartaee9.UndertowJakartaEE9Logger_$logger Maven / Gradle / Ivy

There is a newer version: 2.2.13.Final
Show newest version
package io.undertow.jakartaee9;

import java.util.Locale;
import java.lang.IllegalStateException;
import java.io.Serializable;
import javax.annotation.Generated;
import java.lang.RuntimeException;
import org.jboss.logging.DelegatingBasicLogger;
import org.jboss.logging.BasicLogger;
import java.lang.String;
import org.jboss.logging.Logger;
import java.util.Arrays;


import static org.jboss.logging.Logger.Level.INFO;

/**
 * Warning this class consists of generated code.
 */
@Generated(value = "org.jboss.logging.processor.generator.model.MessageLoggerImplementor", date = "2021-03-30T07:37:04-0300")
public class UndertowJakartaEE9Logger_$logger extends DelegatingBasicLogger implements UndertowJakartaEE9Logger, BasicLogger, Serializable {
    private static final long serialVersionUID = 1L;
    private static final String FQCN = UndertowJakartaEE9Logger_$logger.class.getName();
    public UndertowJakartaEE9Logger_$logger(final Logger log) {
        super(log);
    }
    private static final Locale LOCALE = Locale.ROOT;
    protected Locale getLoggingLocale() {
        return LOCALE;
    }
    @Override
    public final void greeting(final String version) {
        super.log.logf(FQCN, INFO, null, greeting$str(), version);
    }
    protected String greeting$str() {
        return "Undertow Jakarta EE9 Transformer Version %s";
    }
    @Override
    public final void transformationInfo(final String servletDependencyGroupId, final String servletDependencyArtifactId, final String servletDependencyVersion, final String websocketsDependencyGroupId, final String websocketsDependencyArtifactId, final String websocketsDependencyVersion) {
        super.log.logf(FQCN, INFO, null, transformationInfo$str(), servletDependencyGroupId, servletDependencyArtifactId, servletDependencyVersion, websocketsDependencyGroupId, websocketsDependencyArtifactId, websocketsDependencyVersion);
    }
    protected String transformationInfo$str() {
        return "Dependencies that will be used in the new generated modules:\n\t%s:%s-%s\n\t%s:%s-%s";
    }
    @Override
    public final void transformingFile(final String fileName, final String newFileName) {
        super.log.logf(FQCN, INFO, null, transformingFile$str(), fileName, newFileName);
    }
    protected String transformingFile$str() {
        return "Transforming %s into %s";
    }
    @Override
    public final void installingFile(final String artifactFileName, final String pomFileName) {
        super.log.logf(FQCN, INFO, null, installingFile$str(), artifactFileName, pomFileName);
    }
    protected String installingFile$str() {
        return "Installing artifact file %s with pom %s";
    }
    protected String pomFilesNotFoundInOutputDir$str() {
        return "Pom files not present in output dir %s";
    }
    @Override
    public final IllegalStateException pomFilesNotFoundInOutputDir(final String outputDir) {
        final IllegalStateException result = new IllegalStateException(String.format(getLoggingLocale(), pomFilesNotFoundInOutputDir$str(), outputDir));
        _copyStackTraceMinusOne(result);
        return result;
    }
    private static void _copyStackTraceMinusOne(final Throwable e) {
        final StackTraceElement[] st = e.getStackTrace();
        e.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
    }
    protected String inputFilesNotFoundInDir$str() {
        return "Undertow Jakarta EE9000001: Input files not found in input dir %s";
    }
    @Override
    public final IllegalStateException inputFilesNotFoundInDir(final String inputDir) {
        final IllegalStateException result = new IllegalStateException(String.format(getLoggingLocale(), inputFilesNotFoundInDir$str(), inputDir));
        _copyStackTraceMinusOne(result);
        return result;
    }
    protected String renamingFileFalied$str() {
        return "Undertow Jakarta EE9000002: Renaming of file %s to %s failed";
    }
    @Override
    public final RuntimeException renamingFileFalied(final String originalName, final String newName) {
        final RuntimeException result = new RuntimeException(String.format(getLoggingLocale(), renamingFileFalied$str(), originalName, newName));
        _copyStackTraceMinusOne(result);
        return result;
    }
    protected String cannotCreateOutputDir$str() {
        return "Undertow Jakarta EE9000003: Creation of output dir %s failed";
    }
    @Override
    public final RuntimeException cannotCreateOutputDir(final String outputDir) {
        final RuntimeException result = new RuntimeException(String.format(getLoggingLocale(), cannotCreateOutputDir$str(), outputDir));
        _copyStackTraceMinusOne(result);
        return result;
    }
    protected String cannotCreateOutputFile$str() {
        return "Undertow Jakarta EE9000004: Creation of file %s failed";
    }
    @Override
    public final RuntimeException cannotCreateOutputFile(final String outputFile) {
        final RuntimeException result = new RuntimeException(String.format(getLoggingLocale(), cannotCreateOutputFile$str(), outputFile));
        _copyStackTraceMinusOne(result);
        return result;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy