package org.jboss.da.common.util;

import javax.enterprise.inject.Produces;
import javax.enterprise.inject.spi.InjectionPoint;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 *
 * @author Honza Brázdil <jbrazdil@redhat.com>
 */
public class LoggerProducer {

    @Produces
    public Logger produceLogger(InjectionPoint ip) {
        return LoggerFactory.getLogger(ip.getBean().getBeanClass());
    }
}

@@ -120,16 +120,17 @@
 nPoint;%0A
+%0A
 import o
@@ -384,22 +384,29 @@
 .get
-Bean().getBean
+Member().getDeclaring
 Clas

fix logger producer