Package org.hibernate.testing.orm.junit
Annotation Interface MessageKeyInspection
@Inherited
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@ExtendWith(MessageKeyInspectionExtension.class) @ExtendWith(MessageKeyWatcherResolver.class)
public @interface MessageKeyInspection
Injects the ability to watch for a log messages being triggered.
For watching a multiple message-keys, see
LoggingInspections
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe logger to watch onThe message key to look for.