aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/extern/slf4j/Slf4j.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lombok/extern/slf4j/Slf4j.java')
-rw-r--r--src/core/lombok/extern/slf4j/Slf4j.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/lombok/extern/slf4j/Slf4j.java b/src/core/lombok/extern/slf4j/Slf4j.java
index 396e8353..04df6498 100644
--- a/src/core/lombok/extern/slf4j/Slf4j.java
+++ b/src/core/lombok/extern/slf4j/Slf4j.java
@@ -53,9 +53,14 @@ import java.lang.annotation.Target;
* @see lombok.extern.java.Log @Log
* @see lombok.extern.log4j.Log4j @Log4j
* @see lombok.extern.log4j.Log4j2 @Log4j2
- */
+ * @see lombok.extern.slf4j.XSlf4j @XSlf4j
+ * */
@Retention(RetentionPolicy.SOURCE)
@Target(ElementType.TYPE)
public @interface Slf4j {
+ /**
+ * Sets the category of the constructed Logger. By default, it will use the type where the annotation is placed.
+ */
+ String topic() default "";
}