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

io.radanalytics.operator.common.LogProducer Maven / Gradle / Ivy

package io.radanalytics.operator.common;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.enterprise.context.Dependent;
import javax.enterprise.inject.Produces;
import javax.enterprise.inject.spi.InjectionPoint;

@Dependent
class LogProducer {

    @Produces
    Logger createLogger(InjectionPoint injectionPoint) {
        return LoggerFactory.getLogger(injectionPoint.getMember().getDeclaringClass().getName());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy