Annotation Type LogLevel


  • @Documented
    @Inherited
    @Retention(RUNTIME)
    @Target({TYPE,METHOD})
    public @interface LogLevel
    Annotation specifying the log level for a particular test case or method

    Log levels are set for different classes by passing a configuration string to the annotation, like this: @LogLevel("org.apache.solr=DEBUG;org.apache.solr.core=INFO")

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value
      A log-level definition string
    • Element Detail

      • value

        String value
        A log-level definition string