com.arsdigita.logging
Class SecureLogFilter
java.lang.Object
org.apache.log4j.spi.Filter
com.arsdigita.logging.SecureLogFilter
- All Implemented Interfaces:
- org.apache.log4j.spi.OptionHandler
- public class SecureLogFilter
- extends org.apache.log4j.spi.Filter
Defines a log4j filter that will filter out any messages that
are tagged as secure by the Log class.
- Version:
- $Revision: #7 $ $Date: 2004/04/07 $
- Author:
- Yon Feldman
Fields inherited from class org.apache.log4j.spi.Filter |
ACCEPT, DENY, NEUTRAL, next |
Method Summary |
int |
decide(org.apache.log4j.spi.LoggingEvent event)
Decides whether to let this log message go through. |
String[] |
getOptionStrings()
Filter that does not support any options. |
void |
setOption(String key,
String value)
Filter that does not support any options. |
Methods inherited from class org.apache.log4j.spi.Filter |
activateOptions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionId
public static final String versionId
- See Also:
- Constant Field Values
SecureLogFilter
public SecureLogFilter()
decide
public int decide(org.apache.log4j.spi.LoggingEvent event)
- Decides whether to let this log message go through.
- Parameters:
event
- a LoggingEvent to decide about letting go through
getOptionStrings
public String[] getOptionStrings()
- Filter that does not support any options.
setOption
public void setOption(String key,
String value)
- Filter that does not support any options.
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC