diff options
| author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2014-02-10 20:47:11 +0100 |
|---|---|---|
| committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2014-02-10 20:47:11 +0100 |
| commit | db24fd42c5732856a894dbdc5e1827ea31792757 (patch) | |
| tree | e1654e099bd84ae1bd6430140d4248ac043e5a5d /src/core/lombok/extern/slf4j | |
| parent | 893585f526b852ff5059d279e69927fab0d41d42 (diff) | |
| parent | 52bb71582bcff166469b8a8be0960a24bc3f02b7 (diff) | |
| download | lombok-db24fd42c5732856a894dbdc5e1827ea31792757.tar.gz lombok-db24fd42c5732856a894dbdc5e1827ea31792757.tar.bz2 lombok-db24fd42c5732856a894dbdc5e1827ea31792757.zip | |
Merge branch 'issue-632' of https://github.com/mthmulders/lombok into i632
Diffstat (limited to 'src/core/lombok/extern/slf4j')
| -rw-r--r-- | src/core/lombok/extern/slf4j/Slf4j.java | 4 | ||||
| -rw-r--r-- | src/core/lombok/extern/slf4j/XSlf4j.java | 4 |
2 files changed, 8 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 ""; } diff --git a/src/core/lombok/extern/slf4j/XSlf4j.java b/src/core/lombok/extern/slf4j/XSlf4j.java index 599c68ab..306057f0 100644 --- a/src/core/lombok/extern/slf4j/XSlf4j.java +++ b/src/core/lombok/extern/slf4j/XSlf4j.java @@ -57,4 +57,8 @@ import java.lang.annotation.Target; @Retention(RetentionPolicy.SOURCE) @Target(ElementType.TYPE) public @interface XSlf4j { + /** + * Sets the category of the constructed Logger. By default, it will use the type where the annotation is placed. + */ + String value() default ""; } |
