Top Description Fields Methods
org.hibernate.internal.log

public @Interface SubSystemLogging

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.Retention, .Target

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

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final String
BASE

Base category name for sub-system style logging

Method Summary

Modifier and TypeMethod and Description
public String
description()

Description of the information logged

public boolean
mixed()

Aside from test usage, is the associated logger always used through the sub-system category name?

public String
name()

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

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Field Detail

BASEback to summary
public static final String BASE

Base category name for sub-system style logging

Method Detail

descriptionback to summary
public String description()

Description of the information logged

mixedback to summary
public boolean mixed()

Aside from test usage, is the associated logger always used through the sub-system category name?

nameback to summary
public String name()

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