Class LoggerProducer

java.lang.Object
eu.getmangos.cdi.LoggerProducer
All Implemented Interfaces:
Serializable

@ApplicationScoped
public class LoggerProducer
extends Object
implements Serializable
Author:
Warkdev
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getLogger

      @Produces public org.slf4j.Logger getLogger​(javax.enterprise.inject.spi.InjectionPoint ip)
      Allows to inject the SL4J logger from CDI
      Parameters:
      ip - The injection point
      Returns:
      An instance of the SLF4J Logger.