Package org.hibernate.internal.log
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 namesThis 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 String
description
Description of the information loggedString
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?
-