|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.logging.hpel.reader.filters.LoggerNameFilter
public class LoggerNameFilter
Implementation of the LogRecordFilter
interface for filtering out
records not written by a logger with a matching name.
Constructor Summary | |
---|---|
LoggerNameFilter(java.lang.String namePattern)
Creates a filter instance for matching logger names using a specified regular expression. |
Method Summary | |
---|---|
boolean |
accept(RepositoryLogRecord record)
Checks if record should be accepted into the list. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggerNameFilter(java.lang.String namePattern)
namePattern
- regular expression Pattern
that each record's
logger name will be compared toMethod Detail |
---|
public boolean accept(RepositoryLogRecord record)
LogRecordFilter
accept
in interface LogRecordFilter
record
- log record to check
true
if record should be included in the list;
false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |