Class InstrumentedAppender

  • All Implemented Interfaces:
    org.apache.log4j.Appender, org.apache.log4j.spi.OptionHandler

    public class InstrumentedAppender
    extends org.apache.log4j.AppenderSkeleton
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String COUNTER_NAME  
      • Fields inherited from class org.apache.log4j.AppenderSkeleton

        closed, errorHandler, headFilter, layout, name, tailFilter, threshold
    • Constructor Summary

      Constructors 
      Constructor Description
      InstrumentedAppender()
      Create a new instrumented appender using the default registry.
    • Constructor Detail

      • InstrumentedAppender

        public InstrumentedAppender()
        Create a new instrumented appender using the default registry.
    • Method Detail

      • activateOptions

        public void activateOptions()
        Specified by:
        activateOptions in interface org.apache.log4j.spi.OptionHandler
        Overrides:
        activateOptions in class org.apache.log4j.AppenderSkeleton
      • append

        protected void append​(org.apache.log4j.spi.LoggingEvent event)
        Specified by:
        append in class org.apache.log4j.AppenderSkeleton
      • close

        public void close()