Package io.helidon.common.testing.junit5
Class LogRecordMatcher
java.lang.Object
io.helidon.common.testing.junit5.LogRecordMatcher
Hamcrest matcher for a 
LogRecord.- 
Method SummaryModifier and TypeMethodDescriptionstatic org.hamcrest.Matcher<LogRecord> withMessage(org.hamcrest.Matcher<? super String> matcher) Returns a matcher for aLogRecordwhich checks if itsmessagesatisfies the specified string matcher.static org.hamcrest.Matcher<LogRecord> withThrown(org.hamcrest.Matcher<? super Throwable> matcher) Returns a matcher for aLogRecordwhich checks if itsthrownsetting satisfies the specified throwable matcher.
- 
Method Details- 
withThrownpublic static org.hamcrest.Matcher<LogRecord> withThrown(org.hamcrest.Matcher<? super Throwable> matcher) Returns a matcher for aLogRecordwhich checks if itsthrownsetting satisfies the specified throwable matcher.- Parameters:
- matcher- matcher of a throwable to apply to the log record's- thrownvalue
- Returns:
- the log record matcher to apply the throwable matcher
 
- 
withMessagepublic static org.hamcrest.Matcher<LogRecord> withMessage(org.hamcrest.Matcher<? super String> matcher) Returns a matcher for aLogRecordwhich checks if itsmessagesatisfies the specified string matcher.- Parameters:
- matcher- matcher of a string to apply to the log record's- messagevalue
- Returns:
- the log record matcher to apply the string matcher
 
 
-