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.
|
Modifier and Type | Field and Description |
---|---|
protected Filter |
AppenderSkeleton.headFilter
The first filter in the filter chain.
|
protected Filter |
AppenderSkeleton.tailFilter
The last filter in the filter chain.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Field and Description |
---|---|
Filter |
Filter.next
Deprecated.
As of 1.2.12, use
getNext() and setNext(org.apache.log4j.spi.Filter) instead |
Modifier and Type | Method and Description |
---|---|
Filter |
Filter.getNext()
Return the pointer to the next filter;
|
Modifier and Type | Method and Description |
---|---|
void |
Filter.setNext(Filter next)
Set the next filter pointer.
|
Modifier and Type | Class and 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.
|
Copyright © 1999–2023 QOS.CH Sarl (Switzerland). All rights reserved.