© 2002 - Lorne Brinkman
www.TheObjectGuy.com
Lorne@TheObjectGuy.com

com.bitfactoryinc.logging
Class LogEntryPassFilter

java.lang.Object
  |
  +--com.bitfactoryinc.logging.LogEntryFilter
        |
        +--com.bitfactoryinc.logging.LogEntryPassFilter

public class LogEntryPassFilter
extends LogEntryFilter

This filter will not do any additional filtering, but rather pass all LogEntries through. This could have been implemented using a LogEntryCategoryFilter, with an allow value of false, and no categories contained in it.

See Also:
LogEntryCategoryFilter

Fields inherited from class com.bitfactoryinc.logging.LogEntryFilter
severityThreshold
 
Constructor Summary
LogEntryPassFilter()
           
 
Method Summary
protected  boolean canPass(LogEntry aLogEntry)
          Concrete subclasses should override this method, returning true if aLogEntry "passes" the filter (i.e.
 
Methods inherited from class com.bitfactoryinc.logging.LogEntryFilter
getSeverityThreshold, setSeverityThreshold, shouldLog
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

LogEntryPassFilter

public LogEntryPassFilter()
Method Detail

canPass

protected boolean canPass(LogEntry aLogEntry)
Description copied from class: LogEntryFilter
Concrete subclasses should override this method, returning true if aLogEntry "passes" the filter (i.e. aLogEntry should be logged).
Overrides:
canPass in class LogEntryFilter

© 2002 - Lorne Brinkman
www.TheObjectGuy.com
Lorne@TheObjectGuy.com