Package com.gigaspaces.log
Class ContainsStringLogEntryMatcher
java.lang.Object
com.gigaspaces.log.LogEntryMatcherFilter
com.gigaspaces.log.ContainsStringLogEntryMatcher
- All Implemented Interfaces:
LogEntryMatcher,Serializable
A matcher filter that will filter out all log entries that do not contain the provided string.
- Author:
- kimchy
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.gigaspaces.log.LogEntryMatcher
LogEntryMatcher.InitializationContext, LogEntryMatcher.Operation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LogEntryMatcher.OperationShould the operation be filtered or not.voidCalled on the loggable component side (server) before starting to traverse the log file.Methods inherited from class com.gigaspaces.log.LogEntryMatcherFilter
entries, filterJustLogs, match
-
Constructor Details
-
ContainsStringLogEntryMatcher
-
ContainsStringLogEntryMatcher
-
-
Method Details
-
initialize
Description copied from interface:LogEntryMatcherCalled on the loggable component side (server) before starting to traverse the log file.- Specified by:
initializein interfaceLogEntryMatcher- Overrides:
initializein classLogEntryMatcherFilter- Throws:
IOException
-
filter
Description copied from class:LogEntryMatcherFilterShould the operation be filtered or not.LogEntryMatcher.Operation.BREAKin order to break and finish the matching process.LogEntryMatcher.Operation.IGNOREto ignore the current log entry (so it won't be passed to the delegated matcher). AndLogEntryMatcher.Operation.CONTINUEto pass the current log entry to the delegated matcher.- Specified by:
filterin classLogEntryMatcherFilter
-