Class AppenderBase<E>

    • Constructor Detail

      • AppenderBase

        public AppenderBase()
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: Appender
        Get the name of this appender. The name uniquely identifies the appender.
        Specified by:
        getName in interface Appender<E>
      • doAppend

        public void doAppend​(E eventObject)
        Description copied from interface: Appender
        This is where an appender accomplishes its work. Note that the argument is of type Object.
        Specified by:
        doAppend in interface Appender<E>
      • setName

        public void setName​(String name)
        Set the name of this appender.
        Specified by:
        setName in interface Appender<E>
      • start

        public void start()
        Specified by:
        start in interface LifeCycle
      • stop

        public void stop()
        Specified by:
        stop in interface LifeCycle
      • getFilterChainDecision

        public FilterReply getFilterChainDecision​(E event)
        Description copied from interface: FilterAttachable
        Loop through the filters in the chain. As soon as a filter decides on ACCEPT or DENY, then that value is returned. If all of the filters return NEUTRAL, then NEUTRAL is returned.
        Specified by:
        getFilterChainDecision in interface FilterAttachable<E>