public class ContainsStringLogEntryMatcher extends LogEntryMatcherFilter
LogEntryMatcher.InitializationContext, LogEntryMatcher.Operation| Constructor and Description | 
|---|
| ContainsStringLogEntryMatcher(String regex) | 
| ContainsStringLogEntryMatcher(String str,
                             LogEntryMatcher matcher) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected LogEntryMatcher.Operation | filter(LogEntry entry)Should the operation be filtered or not. | 
| void | initialize(LogEntryMatcher.InitializationContext context)Called on the loggable component side (server) before starting to traverse the log file. | 
entries, filterJustLogs, matchpublic ContainsStringLogEntryMatcher(String regex)
public ContainsStringLogEntryMatcher(String str, LogEntryMatcher matcher)
public void initialize(LogEntryMatcher.InitializationContext context) throws IOException
LogEntryMatcherinitialize in interface LogEntryMatcherinitialize in class LogEntryMatcherFilterIOExceptionprotected LogEntryMatcher.Operation filter(LogEntry entry)
LogEntryMatcherFilterLogEntryMatcher.Operation.BREAK in order to
 break and finish the matching process. LogEntryMatcher.Operation.IGNORE
 to ignore the current log entry (so it won't be passed to the delegated matcher). And LogEntryMatcher.Operation.CONTINUE to pass the current log entry to the
 delegated matcher.filter in class LogEntryMatcherFilterCopyright © GigaSpaces.