Package org.hibernate.testing.logger
Class LogInspectionHelper
- java.lang.Object
-
- org.hibernate.testing.logger.LogInspectionHelper
-
public final class LogInspectionHelper extends Object
Test helper to listen for logging events. For this to work, it requires JBoss Logging to pick up our custom implementationLog4DelegatingLoggervia ServiceLoader.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclearAllListeners(org.jboss.logging.BasicLogger log)static voidregisterListener(LogListener listener, org.jboss.logging.BasicLogger log)
-
-
-
Method Detail
-
registerListener
public static void registerListener(LogListener listener, org.jboss.logging.BasicLogger log)
-
clearAllListeners
public static void clearAllListeners(org.jboss.logging.BasicLogger log)
-
-