Package | Description |
---|---|
com.github.valfirst.slf4jtest |
Modifier and Type | Method and Description |
---|---|
static TestLoggerAssert.PredicateBuilder |
TestLoggerAssert.PredicateBuilder.aLog() |
TestLoggerAssert.PredicateBuilder |
TestLoggerAssert.PredicateBuilder.withArguments(Object... arguments) |
TestLoggerAssert.PredicateBuilder |
TestLoggerAssert.PredicateBuilder.withArguments(Predicate<Collection<Object>> predicate) |
TestLoggerAssert.PredicateBuilder |
TestLoggerAssert.PredicateBuilder.withKeyValuePairs(org.slf4j.event.KeyValuePair... keyValuePair) |
TestLoggerAssert.PredicateBuilder |
TestLoggerAssert.PredicateBuilder.withLevel(org.slf4j.event.Level level) |
TestLoggerAssert.PredicateBuilder |
TestLoggerAssert.PredicateBuilder.withMarker(org.slf4j.Marker marker)
Deprecated.
There can be more than one marker in a logging event. Use
withMarkers(org.slf4j.Marker...)
instead. |
TestLoggerAssert.PredicateBuilder |
TestLoggerAssert.PredicateBuilder.withMarkers(org.slf4j.Marker... markers) |
TestLoggerAssert.PredicateBuilder |
TestLoggerAssert.PredicateBuilder.withMdc(Map<String,String> mdc,
TestLoggerAssert.MdcComparator comparator) |
TestLoggerAssert.PredicateBuilder |
TestLoggerAssert.PredicateBuilder.withMessage(Predicate<String> predicate) |
TestLoggerAssert.PredicateBuilder |
TestLoggerAssert.PredicateBuilder.withMessage(String message) |
TestLoggerAssert.PredicateBuilder |
TestLoggerAssert.PredicateBuilder.withThrowable(Predicate<Optional<Throwable>> predicate) |
TestLoggerAssert.PredicateBuilder |
TestLoggerAssert.PredicateBuilder.withThrowable(Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
TestLoggerAssert |
TestLoggerAssert.hasLogged(TestLoggerAssert.PredicateBuilder predicate)
Uses the supplied
TestLoggerAssert.PredicateBuilder to construct the predicate with which to Verify that
a matching LoggingEvent has been logged by the test logger. |
TestLoggerAssert |
TestLoggerAssert.hasNotLogged(TestLoggerAssert.PredicateBuilder predicate)
Uses the supplied
TestLoggerAssert.PredicateBuilder to construct the predicate with which to Verify that
a matching LoggingEvent has _not_ been logged by the test logger. |
Copyright © 2023. All rights reserved.