Annotation Interface SubSystemLogging


@Target(TYPE) @Retention(RUNTIME) public @interface SubSystemLogging
Used to annotate classes which define sub-system style logging where loggers are hierarchically defined around functionalities rather than class and package names

This is helpful to find such classes and is used to generate report (as a release artifact) describing logger names for logging configuration by the application.

At the moment Hibernate uses a mix sub-system logging and the more traditional package and class name based logging. This annotation focuses on the classes defining the sub-system approach

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Description of the information logged
    The sub-system name, which is used as the "logger name"
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Aside from test usage, is the associated logger always used through the sub-system category name?
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Base category name for sub-system style logging
  • Field Details

  • Element Details

    • name

      String name
      The sub-system name, which is used as the "logger name"
    • description

      String description
      Description of the information logged
    • mixed

      boolean mixed
      Aside from test usage, is the associated logger always used through the sub-system category name?
      Default:
      false