Class LoggingConfigEntry

    • Constructor Detail

      • LoggingConfigEntry

        public LoggingConfigEntry​(String clazz,
                                  org.apache.logging.log4j.Level level)
      • LoggingConfigEntry

        public LoggingConfigEntry​(String clazz,
                                  String level)
    • Method Detail

      • isRoot

        public boolean isRoot()
      • getClazz

        public String getClazz()
      • getLevel

        public String getLevel()
        OGNL forces me to match getter and setter types. Possibly this could be avoided by use of a TypeConverter.
        Returns:
        the string
      • getLog4JLevel

        public org.apache.logging.log4j.Level getLog4JLevel()
      • setClazz

        public void setClazz​(String clazz)
      • setLevel

        public void setLevel​(String level)
      • fromLoggerConfig

        public static LoggingConfigEntry fromLoggerConfig​(org.apache.logging.log4j.core.config.LoggerConfig loggerConfig)
      • forRootLogger

        public static LoggingConfigEntry forRootLogger​(org.apache.logging.log4j.core.config.LoggerConfig rootLoggerConfig)