public static class TestLoggerAssert.PredicateBuilder extends Object
Constructor and Description |
---|
PredicateBuilder() |
public static TestLoggerAssert.PredicateBuilder aLog()
public TestLoggerAssert.PredicateBuilder withLevel(org.slf4j.event.Level level)
@Deprecated public TestLoggerAssert.PredicateBuilder withMarker(org.slf4j.Marker marker)
withMarkers(org.slf4j.Marker...)
instead.public TestLoggerAssert.PredicateBuilder withMarkers(org.slf4j.Marker... markers)
public TestLoggerAssert.PredicateBuilder withKeyValuePairs(org.slf4j.event.KeyValuePair... keyValuePair)
public TestLoggerAssert.PredicateBuilder withMessage(String message)
public TestLoggerAssert.PredicateBuilder withMessage(Predicate<String> predicate)
public TestLoggerAssert.PredicateBuilder withArguments(Object... arguments)
public TestLoggerAssert.PredicateBuilder withArguments(Predicate<Collection<Object>> predicate)
public TestLoggerAssert.PredicateBuilder withThrowable(Throwable throwable)
public TestLoggerAssert.PredicateBuilder withThrowable(Predicate<Optional<Throwable>> predicate)
public TestLoggerAssert.PredicateBuilder withMdc(Map<String,String> mdc, TestLoggerAssert.MdcComparator comparator)
public Predicate<LoggingEvent> build()
Copyright © 2023. All rights reserved.