Annotation Interface ApplyLogging


@Target(METHOD) @Retention(RUNTIME) @Documented public @interface ApplyLogging
When used with the LogAppenderExtension on a test method, it will use the AppenderConfig or Consumer<AppenderConfig> field named in the value property as the configuration for the log appender.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the static field containing an AppenderConfig or Consumer<AppenderConfig> object.
  • Element Details

    • value

      String value
      The name of the static field containing an AppenderConfig or Consumer<AppenderConfig> object.
      Returns:
      the field name