Annotation Interface LogLevels
@ExtendWith(LogLevelsCondition.class)
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
public @interface LogLevels
Test classes annotated with this will change logging levels between tests. It can also
 be applied to individual test methods. If both class-level and method-level annotations
 are present, the method-level annotation is used.
- Since:
- 5.2
- Author:
- Gary Russell
- 
Optional Element SummaryOptional Elements
- 
Element Details- 
classesClass<?>[] classesClasses representing Log4j categories to change.- Returns:
- the classes.
 - Default:
- {}
 
- 
categoriesString[] categoriesCategory names representing Log4j categories to change.- Returns:
- the names.
 - Default:
- {}
 
- 
levelString levelThe Log4j level name to switch the categories to during the test.- Returns:
- the level.
 - Default:
- ""
 
 
-