mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 00:17:45 +00:00
[fixes #2469] Support static reference as logger topic
This commit is contained in:
1 parent
e4ec9e6648
commit
9425e99b49
34 files changed
+279
-37
No files matched your search
@@ -17,4 +17,18 @@ class LoggerSlf4jOuter {
|
||||
|
||||
@Slf4j(topic="DifferentLogger")
|
||||
class LoggerSlf4jWithDifferentLoggerName {
|
||||
}
|
||||
|
||||
@Slf4j(topic=LoggerSlf4jWithStaticField.TOPIC)
|
||||
class LoggerSlf4jWithStaticField {
|
||||
static final String TOPIC = "StaticField";
|
||||
}
|
||||
|
||||
@Slf4j(topic=LoggerSlf4jWithTwoStaticFields.TOPIC + LoggerSlf4jWithTwoStaticFields.TOPIC)
|
||||
class LoggerSlf4jWithTwoStaticFields {
|
||||
static final String TOPIC = "StaticField";
|
||||
}
|
||||
|
||||
@Slf4j(topic="A"+"B")
|
||||
class LoggerSlf4jWithTwoLiterals {
|
||||
}
|
||||
Reference in new issue
Block a user