Class LogbackPropertyDefiner

  • All Implemented Interfaces:
    ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.PropertyDefiner
    Direct Known Subclasses:

    public class LogbackPropertyDefiner
    extends ch.qos.logback.core.PropertyDefinerBase
    It was simply not possible to provide an empty default value for logback property. So this is the workaround. See Even ... does not work, because the "" cannot be used as a property value. So, the property definer is a workaround.
    • Constructor Detail

      • LogbackPropertyDefiner

        public LogbackPropertyDefiner()
    • Method Detail

      • setPropertyName

        public void setPropertyName​(String propertyName)
      • setDefaultValue

        public void setDefaultValue​(String defaultValue)
      • getDefaultValue

        protected String getDefaultValue()
      • getPropertyValue

        public String getPropertyValue()