Annotation Type 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

    • Field Summary

      Fields 
      Modifier and Type Fields Description
      static String BASE
      Base category name for sub-system style logging
    • Required Element Summary

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

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

      • BASE

        static final String BASE
        Base category name for sub-system style logging
    • Element Detail

      • 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