public static class LogWatcher.EventPredicates extends Object
| Constructor and Description |
|---|
EventPredicates() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> |
containsException() |
static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> |
containsExceptionClassname(String expected) |
static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> |
containsExceptionMessage(String expected) |
static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> |
containsExceptionMessages(String... expecteds) |
static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> |
containsExceptionStackLine(Class<?> clazz,
String methodName) |
static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> |
containsMessage(String expected) |
static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> |
containsMessages(String... expecteds) |
static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> |
levelGeaterOrEqual(ch.qos.logback.classic.Level expectedLevel) |
static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> |
matchingRegexes(String... patterns) |
protected static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> |
matchPredicate(BiPredicate<String,String> pred,
String... expecteds) |
public static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> containsMessage(String expected)
protected static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> matchPredicate(BiPredicate<String,String> pred, String... expecteds)
public static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> matchingRegexes(String... patterns)
public static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> containsMessages(String... expecteds)
public static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> containsExceptionStackLine(Class<?> clazz, String methodName)
public static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> containsException()
public static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> containsExceptionMessage(String expected)
public static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> containsExceptionMessages(String... expecteds)
public static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> containsExceptionClassname(String expected)
public static com.google.common.base.Predicate<ch.qos.logback.classic.spi.ILoggingEvent> levelGeaterOrEqual(ch.qos.logback.classic.Level expectedLevel)
Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.