Class LoggingConfigEntry

  • All Implemented Interfaces:
    Serializable

    public class LoggingConfigEntry
    extends Object
    implements Serializable
    Represents a Log4j Config entry, corresponding to a Class or Package mapped to a Level.
    Since:
    7.17
    See Also:
    Serialized Form
    • Constructor Detail

      • LoggingConfigEntry

        public LoggingConfigEntry()
      • LoggingConfigEntry

        public LoggingConfigEntry​(String clazz,
                                  org.apache.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
      • setClazz

        public void setClazz​(String clazz)
      • setLevel

        public void setLevel​(String level)