aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/extern/slf4j/Slf4j.java
diff options
context:
space:
mode:
authorMaarten Mulders <m.th.mulders@xs4all.nl>2014-02-07 16:14:01 +0100
committerMaarten Mulders <m.th.mulders@xs4all.nl>2014-02-08 15:18:23 +0100
commitc38a64a5564996b552d88448bfb00722403bf194 (patch)
tree77dce34a5c427f1341a7278e030bae03beccba14 /src/core/lombok/extern/slf4j/Slf4j.java
parentd269cdcaf1012c967b353e3984072bf42a6061da (diff)
downloadlombok-c38a64a5564996b552d88448bfb00722403bf194.tar.gz
lombok-c38a64a5564996b552d88448bfb00722403bf194.tar.bz2
lombok-c38a64a5564996b552d88448bfb00722403bf194.zip
Handlers and testcases for @Slf4j
Diffstat (limited to 'src/core/lombok/extern/slf4j/Slf4j.java')
-rw-r--r--src/core/lombok/extern/slf4j/Slf4j.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/lombok/extern/slf4j/Slf4j.java b/src/core/lombok/extern/slf4j/Slf4j.java
index 8490b6b6..c4495990 100644
--- a/src/core/lombok/extern/slf4j/Slf4j.java
+++ b/src/core/lombok/extern/slf4j/Slf4j.java
@@ -57,4 +57,8 @@ import java.lang.annotation.Target;
@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 value() default "";
}