Annotation Interface ConsoleLogLevelThreshold


@Inherited @Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface ConsoleLogLevelThreshold
Annotation to define a console log level threshold on the root logger, which allows us to hide console log messages when launching tests. Any Class or Method can be annotated, when a Method is marked then the console level will override the Class level if it is defined and it will be restored after the end of the execution of this Method otherwise it will inherit the Class defined level.

The default level value is Level.OFF which means all console log messages will be hidden.

Since:
11.1
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      String value
      Default:
      "OFF"