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

io.quarkiverse.cxf.it.logging.LoggingFeatureProducer Maven / Gradle / Ivy

package io.quarkiverse.cxf.it.logging;

import jakarta.enterprise.context.ApplicationScoped;
import jakarta.enterprise.inject.Produces;

import org.apache.cxf.ext.logging.LoggingFeature;

public class LoggingFeatureProducer {

    @Produces
    @ApplicationScoped
    LoggingFeature loggingFeature() {
        LoggingFeature loggingFeature = new LoggingFeature();
        loggingFeature.setPrettyLogging(true); // <1>
        return loggingFeature;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy