org.jcoderz.commons.logging
Interface Filter

All Known Implementing Classes:
BusinessImpactFilter, CategoryFilter, LevelFilter, PeriodFilter, ThreadIdFilter

public interface Filter

This defines an interface for filtering LogFileEntries, i.e. finding entries which match a filter criterium.


Method Summary
 boolean isPassable(LogItem entry)
          Returns flag whether the filter lets the log file entry pass, i.e. the entry matches the filter criteria.
 

Method Detail

isPassable

boolean isPassable(LogItem entry)
Returns flag whether the filter lets the log file entry pass, i.e. the entry matches the filter criteria.

Parameters:
entry - The entry to check.
Returns:
true, if entry passes the filter; false, else.


Copyright 2007 The jCoderZ Project.