|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface how filtering in x4juli works.
| Field Summary | |
static boolean |
ACCEPT
The log event must be logged immediately without consulting with the remaining filters, if any, in the chain. |
static boolean |
DENY
The log event must be dropped immediately without consulting with the remaining filters, if any, in the chain. |
static int |
X4JULI_ACCEPT
The log event must be logged immediately without consulting with the remaining filters, if any, in the chain. |
static int |
X4JULI_DENY
The log event must be dropped immediately without consulting with the remaining filters, if any, in the chain. |
static int |
X4JULI_NEUTRAL
This filter is neutral with respect to the log event. |
| Method Summary | |
int |
decide(ExtendedLogRecord record)
If the decision is DENY, then the event will be dropped.
|
ExtendedFilter |
getNext()
Return the pointer to the next filter; |
void |
setNext(ExtendedFilter next)
Set the next filter pointer. |
| Methods inherited from interface java.util.logging.Filter |
isLoggable |
| Methods inherited from interface org.x4juli.global.spi.OptionHandler |
activateOptions |
| Field Detail |
public static final boolean DENY
public static final boolean ACCEPT
public static final int X4JULI_DENY
public static final int X4JULI_NEUTRAL
public static final int X4JULI_ACCEPT
| Method Detail |
public int decide(ExtendedLogRecord record)
If the decision is DENY, then the event will be dropped.
If the decision is NEUTRAL, then the next filter, if any,
will be invoked. If the decision is ACCEPT then the event will be logged
without consulting with other filters in the chain.
record - The LoggingEvent to decide upon.public void setNext(ExtendedFilter next)
public ExtendedFilter getNext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||