| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.log4j.spi.Filterorg.apache.log4j.varia.DenyAllFilterpublic class DenyAllFilterextends FilterField Summary |
Method Summary | |
int |
|
String[] |
|
void |
|
Methods inherited from class org.apache.log4j.spi.Filter | |
activateOptions, decide, getNext, setNext | |
public int decide(LoggingEvent event)
Always returns the integer constantFilter.DENYregardless of theLoggingEventparameter.
- Parameters:
event- The LoggingEvent to filter.
- Returns:
- Always returns
Filter.DENY.
public String[] getOptionStrings()
Deprecated. We now use JavaBeans introspection to configure components. Options strings are no longer needed.
Returnsnullas there are no options.
public void setOption(String key,
String value)Deprecated. Use the setter method for the option directly instead of the generic
setOptionmethod.No options to set.