mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-16 12:15:30 +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
@@ -3,6 +3,12 @@ class LoggerCustomLog {
|
||||
private static final MyLoggerFactory log = MyLoggerFactory.create(LoggerCustomLog.class.getName(), "t", null, LoggerCustomLog.class, "t");
|
||||
}
|
||||
|
||||
class LoggerCustomLogWithStaticField {
|
||||
@java.lang.SuppressWarnings("all")
|
||||
private static final MyLoggerFactory log = MyLoggerFactory.create(LoggerCustomLogWithStaticField.class.getName(), LoggerCustomLogWithStaticField.TOPIC, null, LoggerCustomLogWithStaticField.class, LoggerCustomLogWithStaticField.TOPIC);
|
||||
static final String TOPIC = "StaticField";
|
||||
}
|
||||
|
||||
class MyLoggerFactory {
|
||||
static MyLoggerFactory create(String name, String t1, Object o, Class<?> clazz, String t2) {
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user