public abstract static class MockLogAppender.AbstractEventExpectation extends java.lang.Object implements MockLogAppender.LoggingExpectation
Modifier and Type | Field and Description |
---|---|
protected org.apache.logging.log4j.Level |
level |
protected java.lang.String |
logger |
protected java.lang.String |
message |
protected java.lang.String |
name |
Constructor and Description |
---|
AbstractEventExpectation(java.lang.String name,
java.lang.String logger,
org.apache.logging.log4j.Level level,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
void |
match(org.apache.logging.log4j.core.LogEvent event) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
assertMatched
protected final java.lang.String name
protected final java.lang.String logger
protected final org.apache.logging.log4j.Level level
protected final java.lang.String message
public AbstractEventExpectation(java.lang.String name, java.lang.String logger, org.apache.logging.log4j.Level level, java.lang.String message)
public void match(org.apache.logging.log4j.core.LogEvent event)
match
in interface MockLogAppender.LoggingExpectation