Class LogViewerFilter
java.lang.Object
com.ibm.websphere.logging.hpel.reader.filters.LogViewerFilter
- All Implemented Interfaces:
- LogRecordFilter
Implementation of the 
LogRecordFilter interface using multiple
 parameters to filter log records.- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionLogViewerFilter(Date startDate, Date stopDate, Level minLevel, Level maxLevel, String includeLoggers, String excludeLoggers, String threadID, String message, String excludeMessages, List<LogViewerFilter.Extension> extensions) Creates instance to filter on time range, level range, lists of included/excluded loggers, list of excluded messages, and thread ID.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanaccept(RepositoryLogRecord record) Checks if record should be accepted into the list.
- 
Constructor Details- 
LogViewerFilterpublic LogViewerFilter(Date startDate, Date stopDate, Level minLevel, Level maxLevel, String includeLoggers, String excludeLoggers, String threadID, String message, String excludeMessages, List<LogViewerFilter.Extension> extensions) Creates instance to filter on time range, level range, lists of included/excluded loggers, list of excluded messages, and thread ID. Anullvalue can be supplied for any of the parameters that you do not wish to filter on.- Parameters:
- startDate- minimum- Datevalue that will be accepted by the filter
- stopDate- maximum- Datevalue that will be accepted by the filter
- minLevel- minimum- Levelthat will be accepted by the filter
- maxLevel- maximum- Levelthat will be accepted by the filter
- includeLoggers- comma separated list of loggers that will be accepted by the filter. The wildcard character '*' may be used.
- excludeLoggers- comma separated list of loggers that will be rejected by the filter. The wildcard character '*' may be used.
- threadID- ID of the thread that will be accepted by the filter
- message- message string to match in the message of a record. The wildcard character '*' may be used.
- excludeMessages- comma separated list of messages that will be rejected by the filter. The wildcard character '*' may be used.
- extensions- comma separated list of records with specified extension name and value that will be accepted by the filter. The wildcard characters '*' or '?' may be used.
 
 
- 
- 
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.
 
 
-