Annotation 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

    Required Elements
    Modifier and Type
    Required Element
    Description
    The logger level to set
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The log appender names to configure if not empty.
    The logger class on which we want to set the logger level
    The logger name on which we want to set the logger level
  • Element Details

    • level

      String level
      The logger level to set
    • name

      String name
      The logger name on which we want to set the logger level
      Default:
      ""
    • klass

      Class<?> klass
      The logger class on which we want to set the logger level
      Default:
      java.lang.Object.class
    • appenders

      String[] appenders
      The log appender names to configure if not empty. The logger has additivity by default.
      Default:
      {}