Package com.itextpdf.test.annotations
Annotation Type LogMessage
public @interface LogMessage
An annotation to be used in a
LogMessages
wrapper, which signifies a particular log message that must appear in a test a specific number of times.
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionDefines the parameterized log message to look for in the logs. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionint
A certain message may have to be called several times, and theLogListener
algorithm checks whether it has been called the correct number of times.int
-
Element Details
-
messageTemplate
String messageTemplateDefines the parameterized log message to look for in the logs.- Returns:
- the message template that must be checked for
-
-
-
count
int countA certain message may have to be called several times, and theLogListener
algorithm checks whether it has been called the correct number of times. Defaults to once.- Returns:
- the number of times a message template must appear in the logs
- Default:
- 1
-
logLevel
int logLevel- Default:
- 3000
-