Class LogService

java.lang.Object
io.jans.casa.core.LogService

@Named @ApplicationScoped public class LogService extends Object
Most methods in this class assumes the SLF4J binding employed is Log4j2. If binding is changed, methods need to be updated.
Author:
jgomer
  • Field Details

    • SLF4J_LEVELS

      public static final List<String> SLF4J_LEVELS
  • Constructor Details

    • LogService

      public LogService()
  • Method Details

    • loggerInstance

      @Produces public org.slf4j.Logger loggerInstance(jakarta.enterprise.inject.spi.InjectionPoint ip)
    • addLoger

      public void addLoger(Path path)
    • updateLoggingLevel

      public String updateLoggingLevel(String newLevel)