Class MockLogAppender.PatternSeenWithLoggerPrefixExpectation

java.lang.Object
org.opensearch.test.MockLogAppender.PatternSeenWithLoggerPrefixExpectation
All Implemented Interfaces:
MockLogAppender.LoggingExpectation
Enclosing class:
MockLogAppender

public static class MockLogAppender.PatternSeenWithLoggerPrefixExpectation extends Object implements MockLogAppender.LoggingExpectation
Used for cases when the logger is dynamically named such as to include an index name or shard id Best used in conjunction with the root logger: @TestLogging(value = "_root:debug", reason = "Validate logging output");
See Also: