Annotation Interface CategorizedLogger
Annotates a Logger interface that may produce log messages and has to be added to a report in the reference documentation.
If annotated logger actually contain any log messages, the
description()
is mandatory.-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDescription of a specific logging category.
-
Element Details
-
category
String categoryName of the logging category. All categories should start withorg.hibernate.search.
prefix. Also make sure that categories extend each other and, if needed, have a "module" suffix. E.g. having a common category defined in a pojo mapper asorg.hibernate.search.something.mapper
a corresponding category in the ORM mapper would beorg.hibernate.search.something.mapper.orm
. This way should allow enabling all "sub-categories" by enabling logging for a "parent" category. -
description
String descriptionDescription of a specific logging category. Goes into reference documentation report. Try to keep it vague enough to not update it each time a logger changes.- Default:
""
-