|
© 2002 - Lorne Brinkman www.TheObjectGuy.com Lorne@TheObjectGuy.com |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--com.bitfactoryinc.logging.LogEntryFilter
Concrete subclasses of this abstract class are used by loggers to "filter" each item and decide whether or not to actually log it. Subclasses should override the canPass(LogEntry) method.
| Field Summary | |
private int |
severityThreshold
|
| Fields inherited from interface com.bitfactoryinc.logging.LoggingConstants |
CRITICAL,
DEBUG,
ERROR,
FATAL,
INFO,
severities,
STATUS,
WARNING |
| Constructor Summary | |
LogEntryFilter()
|
|
| Method Summary | |
protected abstract boolean |
canPass(LogEntry aLogEntry)
Concrete subclasses should override this method, returning true if aLogEntry "passes" the filter (i.e. |
int |
getSeverityThreshold()
|
void |
setSeverityThreshold(int newSeverityThreshold)
|
protected boolean |
shouldLog(LogEntry aLogEntry)
This method returns true if aLogEntry should be logged according to the receiver |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private int severityThreshold
| Constructor Detail |
public LogEntryFilter()
| Method Detail |
protected abstract boolean canPass(LogEntry aLogEntry)
public int getSeverityThreshold()
public void setSeverityThreshold(int newSeverityThreshold)
protected final boolean shouldLog(LogEntry aLogEntry)
|
© 2002 - Lorne Brinkman www.TheObjectGuy.com Lorne@TheObjectGuy.com |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||