Uses of Class
org.apache.log4j.spi.Filter
-
Packages that use Filter Package Description org.apache.log4j The main log4j package.org.apache.log4j.spi Contains part of the System Programming Interface (SPI) needed to extend log4j.org.apache.log4j.varia Contains various appenders, filters and other odds and ends. -
-
Uses of Filter in org.apache.log4j
Fields in org.apache.log4j declared as Filter Modifier and Type Field Description protected Filter
AppenderSkeleton. headFilter
The first filter in the filter chain.protected Filter
AppenderSkeleton. tailFilter
The last filter in the filter chain.Methods in org.apache.log4j that return Filter Modifier and Type Method Description Filter
Appender. getFilter()
Returns the head Filter.Filter
AppenderSkeleton. getFilter()
Returns the head Filter.Filter
AppenderSkeleton. getFirstFilter()
Return the first filter in the filter chain for this Appender.Methods in org.apache.log4j with parameters of type Filter Modifier and Type Method Description void
Appender. addFilter(Filter newFilter)
Add a filter to the end of the filter list.void
AppenderSkeleton. addFilter(Filter newFilter)
Add a filter to end of the filter list. -
Uses of Filter in org.apache.log4j.spi
Fields in org.apache.log4j.spi declared as Filter Modifier and Type Field Description Filter
Filter. next
Deprecated.As of 1.2.12, usegetNext()
andsetNext(org.apache.log4j.spi.Filter)
insteadMethods in org.apache.log4j.spi that return Filter Modifier and Type Method Description Filter
Filter. getNext()
Return the pointer to the next filter;Methods in org.apache.log4j.spi with parameters of type Filter Modifier and Type Method Description void
Filter. setNext(Filter next)
Set the next filter pointer. -
Uses of Filter in org.apache.log4j.varia
Subclasses of Filter in org.apache.log4j.varia Modifier and Type Class Description class
DenyAllFilter
This filter drops all logging events.class
LevelMatchFilter
This is a very simple filter based on level matching.class
LevelRangeFilter
This is a very simple filter based on level matching, which can be used to reject messages with priorities outside a certain range.class
StringMatchFilter
This is a very simple filter based on string matching.
-