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

io.github.factoryfx.jetty.Slf4LoggingFeatureFactory Maven / Gradle / Ivy

package io.github.factoryfx.jetty;

import io.github.factoryfx.factory.FactoryBase;
import io.github.factoryfx.factory.SimpleFactoryBase;
import org.glassfish.jersey.logging.LoggingFeature;

/**
 * jersey use java util for logging this class will bridge to slf4j
 *
 * (preferred over the jultoslf bridge cause no global install required and no loglevel setup)
 */
public class Slf4LoggingFeatureFactory> extends SimpleFactoryBase {

    @Override
    protected LoggingFeature createImpl() {
        return new org.glassfish.jersey.logging.LoggingFeature(new Slf4LoggingFeature());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy