Class AbstractOutputStreamAppender<M extends OutputStreamManager>

    • Method Detail

      • getImmediateFlush

        public boolean getImmediateFlush()
        Gets the immediate flush setting.
        Returns:
        immediate flush.
      • getManager

        public M getManager()
        Gets the manager.
        Returns:
        the manager.
      • stop

        public boolean stop​(long timeout,
                            TimeUnit timeUnit)
        Description copied from class: AbstractFilterable
        Cleanup the Filter.
        Specified by:
        stop in interface LifeCycle2
        Overrides:
        stop in class AbstractFilterable
        Parameters:
        timeout - the maximum time to wait
        timeUnit - the time unit of the timeout argument
        Returns:
        true if the receiver was stopped cleanly and normally, false otherwise.
      • append

        public void append​(LogEvent event)
        Actual writing occurs here.

        Most subclasses of AbstractOutputStreamAppender will need to override this method.

        Parameters:
        event - The LogEvent.
      • directEncodeEvent

        protected void directEncodeEvent​(LogEvent event)
      • writeByteArrayToManager

        protected void writeByteArrayToManager​(LogEvent event)