Class LoggerNameFilter
- java.lang.Object
- 
- com.ibm.websphere.logging.hpel.reader.filters.LoggerNameFilter
 
- 
- All Implemented Interfaces:
- LogRecordFilter
 
 public class LoggerNameFilter extends java.lang.Object implements LogRecordFilter Implementation of theLogRecordFilterinterface for filtering out records not written by a logger with a matching name.
- 
- 
Constructor SummaryConstructors Constructor Description LoggerNameFilter(java.lang.String namePattern)Creates a filter instance for matching logger names using a specified regular expression.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(RepositoryLogRecord record)Checks if record should be accepted into the list.
 
- 
- 
- 
Method Detail- 
acceptpublic boolean accept(RepositoryLogRecord record) Description 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.
 
 
- 
 
-