Package org.nuxeo.runtime.test.runner
Annotation Interface LoggerLevel
@Inherited
@Repeatable(LoggerLevels.class)
@Retention(RUNTIME)
@Target({TYPE,METHOD})
public @interface LoggerLevel
Annotation that will help you managing the logging when dealing with tests. You can create or update a logger
dynamically by annotating your class or method test.
- Since:
- 11.1
-
Required Element Summary
-
Optional Element Summary
-
Element Details
-
level
String levelThe logger level to set
-
-
-
name
String nameThe logger name on which we want to set the logger level- Default:
- ""
-
klass
Class<?> klassThe logger class on which we want to set the logger level- Default:
- java.lang.Object.class
-
appenders
String[] appendersThe log appender names to configure if not empty. The logger has additivity by default.- Default:
- {}
-