Package org.hibernate.testing.orm.logger
Class LoggerInspectionExtension
- java.lang.Object
-
- org.hibernate.testing.orm.logger.LoggerInspectionExtension
-
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterEachCallback
,org.junit.jupiter.api.extension.Extension
public class LoggerInspectionExtension extends Object implements org.junit.jupiter.api.extension.AfterEachCallback
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoggerInspectionExtension.LoggerInspectionRuleBuilder
-
Constructor Summary
Constructors Constructor Description LoggerInspectionExtension(org.jboss.logging.BasicLogger log)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterEach(org.junit.jupiter.api.extension.ExtensionContext context)
static LoggerInspectionExtension.LoggerInspectionRuleBuilder
builder()
void
registerListener(LogListener listener)
Triggerable
watchForLogMessages(String prefix)
Triggerable
watchForLogMessages(Set<String> prefixes)
-
-
-
Method Detail
-
builder
public static LoggerInspectionExtension.LoggerInspectionRuleBuilder builder()
-
registerListener
public void registerListener(LogListener listener)
-
watchForLogMessages
public Triggerable watchForLogMessages(String prefix)
-
watchForLogMessages
public Triggerable watchForLogMessages(Set<String> prefixes)
-
-