Class LoggerNameFilter
java.lang.Object
com.ibm.websphere.logging.hpel.reader.filters.LoggerNameFilter
- All Implemented Interfaces:
- LogRecordFilter
Implementation of the 
LogRecordFilter interface for filtering out
 records not written by a logger with a matching name.- 
Constructor SummaryConstructorsConstructorDescriptionLoggerNameFilter(String namePattern) Creates a filter instance for matching logger names using a specified regular expression.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanaccept(RepositoryLogRecord record) Checks if record should be accepted into the list.
- 
Constructor Details- 
LoggerNameFilterCreates a filter instance for matching logger names using a specified regular expression.- Parameters:
- namePattern- regular expression- Patternthat each record's logger name will be compared to
 
 
- 
- 
Method Details- 
acceptDescription copied from interface:LogRecordFilterChecks if record should be accepted into the list.- Specified by:
- acceptin interface- LogRecordFilter
- Parameters:
- record- log record to check
- Returns:
- trueif record should be included in the list;- falseotherwise.
 
 
-