Package org.elasticsearch.test
Class MockLog.PatternAndExceptionSeenEventExpectation
java.lang.Object
org.elasticsearch.test.MockLog.AbstractEventExpectation
org.elasticsearch.test.MockLog.SeenEventExpectation
org.elasticsearch.test.MockLog.PatternAndExceptionSeenEventExpectation
- All Implemented Interfaces:
MockLog.LoggingExpectation
- Enclosing class:
MockLog
public static class MockLog.PatternAndExceptionSeenEventExpectation
extends MockLog.SeenEventExpectation
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
match
(org.apache.logging.log4j.core.LogEvent event) Called on everyLogEvent
received by the captured appenders.Methods inherited from class org.elasticsearch.test.MockLog.SeenEventExpectation
assertMatched, awaitMatched
Methods inherited from class org.elasticsearch.test.MockLog.AbstractEventExpectation
innerMatch
-
Constructor Details
-
PatternAndExceptionSeenEventExpectation
-
-
Method Details
-
match
public void match(org.apache.logging.log4j.core.LogEvent event) Description copied from interface:MockLog.LoggingExpectation
Called on everyLogEvent
received by the captured appenders.- Specified by:
match
in interfaceMockLog.LoggingExpectation
- Overrides:
match
in classMockLog.AbstractEventExpectation
-