com.arsdigita.logging
Class SecureLogFilter

java.lang.Object
  extended byorg.apache.log4j.spi.Filter
      extended bycom.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

Field Summary
static String versionId
           
 
Fields inherited from class org.apache.log4j.spi.Filter
ACCEPT, DENY, NEUTRAL, next
 
Constructor Summary
SecureLogFilter()
           
 
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
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

SecureLogFilter

public SecureLogFilter()
Method Detail

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 20 2004:2337 UTC