|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.utils.logging.LogCategoryFilter
public class LogCategoryFilter
Simple filter for LogCategory - it is instantiated with the instance of the LogCategory (or array of them) which it should accept.
Constructor Summary | |
---|---|
LogCategoryFilter(LogCategory category)
|
|
LogCategoryFilter(LogCategory[] categories)
|
Method Summary | |
---|---|
LogCategory[] |
getFilterCategories()
Returns cathegories the filter is looking for (taking / allowing the log record to be published). |
boolean |
isLoggable(java.util.logging.LogRecord record)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogCategoryFilter(LogCategory category)
public LogCategoryFilter(LogCategory[] categories)
Method Detail |
---|
public boolean isLoggable(java.util.logging.LogRecord record)
isLoggable
in interface java.util.logging.Filter
public LogCategory[] getFilterCategories()
This array is copy - altering it won't alter the filter.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |