Class LoggerProducer


  • @ApplicationScoped
    public class LoggerProducer
    extends java.lang.Object
    Produces Logger objects for injection using the CDI InjectionPoint to get the name of the requesting class
    Author:
    Michael Remijan mjremijan@yahoo.com @mjremijan
    • Constructor Summary

      Constructors 
      Constructor Description
      LoggerProducer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.slf4j.Logger getLogger​(javax.enterprise.inject.spi.InjectionPoint injectionPoint)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LoggerProducer

        public LoggerProducer()
    • Method Detail

      • getLogger

        @Produces
        public org.slf4j.Logger getLogger​(javax.enterprise.inject.spi.InjectionPoint injectionPoint)