Uses of Class
org.apache.log4j.spi.Filter
-
Packages that use Filter Package Description org.apache.log4j Log4j 1.x compatibility layer.org.apache.log4j.bridge org.apache.log4j.builders org.apache.log4j.builders.filter org.apache.log4j.config Log4j 1.x compatibility layer.org.apache.log4j.spi Log4j 1.x compatibility layer.org.apache.log4j.varia org.apache.log4j.xml Log4j 1.x compatibility layer. -
-
Uses of Filter in org.apache.log4j
Fields in org.apache.log4j declared as Filter Modifier and Type Field Description protected Filter
AppenderSkeleton. headFilter
protected Filter
AppenderSkeleton. tailFilter
Methods in org.apache.log4j that return Filter Modifier and Type Method Description Filter
Appender. getFilter()
Returns the head Filter.Filter
AppenderSkeleton. getFilter()
Filter
AppenderSkeleton. getFirstFilter()
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)
-
Uses of Filter in org.apache.log4j.bridge
Subclasses of Filter in org.apache.log4j.bridge Modifier and Type Class Description class
FilterWrapper
This acts as a container for Log4j 2 Filters to be attached to Log4j 1 components.Methods in org.apache.log4j.bridge that return Filter Modifier and Type Method Description static Filter
FilterAdapter. addFilter(Filter first, Filter second)
Appends one filter to another using Log4j 2.x concatenation utilities.Filter
AppenderWrapper. getFilter()
Filter
FilterAdapter. getFilter()
Gets the actual filter.Methods in org.apache.log4j.bridge with parameters of type Filter Modifier and Type Method Description void
AppenderWrapper. addFilter(Filter newFilter)
static Filter
FilterAdapter. addFilter(Filter first, Filter second)
Appends one filter to another using Log4j 2.x concatenation utilities.static Filter
FilterAdapter. convertFilter(Filter filter)
Converts a Log4j 1.x filter into a Log4j 2.x filter.Constructors in org.apache.log4j.bridge with parameters of type Filter Constructor Description FilterAdapter(Filter filter)
-
Uses of Filter in org.apache.log4j.builders
Methods in org.apache.log4j.builders that return Filter Modifier and Type Method Description Filter
BuilderManager. parseFilter(String className, Element filterElement, XmlConfiguration config)
Methods in org.apache.log4j.builders with parameters of type Filter Modifier and Type Method Description protected static Filter
AbstractBuilder. buildFilters(String level, Filter filter)
-
Uses of Filter in org.apache.log4j.builders.filter
Methods in org.apache.log4j.builders.filter that return Filter Modifier and Type Method Description Filter
DenyAllFilterBuilder. parse(PropertiesConfiguration config)
Filter
DenyAllFilterBuilder. parse(Element filterElement, XmlConfiguration config)
Filter
LevelMatchFilterBuilder. parse(PropertiesConfiguration config)
Filter
LevelMatchFilterBuilder. parse(Element filterElement, XmlConfiguration config)
Filter
LevelRangeFilterBuilder. parse(PropertiesConfiguration config)
Filter
LevelRangeFilterBuilder. parse(Element filterElement, XmlConfiguration config)
Filter
StringMatchFilterBuilder. parse(PropertiesConfiguration config)
Filter
StringMatchFilterBuilder. parse(Element filterElement, XmlConfiguration config)
-
Uses of Filter in org.apache.log4j.config
Methods in org.apache.log4j.config that return Filter Modifier and Type Method Description Filter
PropertiesConfiguration. parseAppenderFilters(Properties props, String filterPrefix, String appenderName)
-
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
Denies all logging events.class
LevelMatchFilter
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
Simple filter based on string matching. -
Uses of Filter in org.apache.log4j.xml
Methods in org.apache.log4j.xml that return Filter Modifier and Type Method Description Filter
XmlConfiguration. parseFilters(Element filterElement)
Used internally to parse a filter element.Method parameters in org.apache.log4j.xml with type arguments of type Filter Modifier and Type Method Description void
XmlConfiguration. addFilter(AtomicReference<Filter> ref, Element filterElement)
Used internally to parse a filter element.
-