Class AppenderAttachableImpl

    • Field Detail

      • appenderList

        protected Vector appenderList
        Array of appenders. TODO
    • Constructor Detail

      • AppenderAttachableImpl

        public AppenderAttachableImpl()
    • Method Detail

      • appendLoopOnAppenders

        public int appendLoopOnAppenders​(LoggingEvent event)
        Calls the doAppend method on all attached appenders.
        Parameters:
        event - The event to log.
        Returns:
        The number of appenders.
      • close

        public void close()
        Closes all appenders.
      • isAttached

        public boolean isAttached​(Appender appender)
        Description copied from interface: AppenderAttachable
        Returns true if the specified appender is in list of attached attached, false otherwise.
        Specified by:
        isAttached in interface AppenderAttachable
        Parameters:
        appender - The Appender to check.
        Returns:
        true if the Appender is attached.
      • removeAppender

        public void removeAppender​(Appender appender)
        Description copied from interface: AppenderAttachable
        Remove the appender passed as parameter from the list of appenders.
        Specified by:
        removeAppender in interface AppenderAttachable
        Parameters:
        appender - The Appender to remove.
      • removeAppender

        public void removeAppender​(String name)
        Description copied from interface: AppenderAttachable
        Remove the appender with the name passed as parameter from the list of appenders.
        Specified by:
        removeAppender in interface AppenderAttachable
        Parameters:
        name - The name of the Appender to remove.