[fixes #2469] Support static reference as logger topic

This commit is contained in:
Rawi01 authored and Roel Spilker committed 2020-07-02 23:08:41 +02:00
1 parent e4ec9e6648
commit 9425e99b49
34 files changed
+279 -37

No files matched your search

@@ -35,4 +35,13 @@ class LoggerJBossLogOuter {
LoggerJBossLogWithDifferentLoggerName() {
super();
}
}
@JBossLog(topic = LoggerJBossLogWithStaticField.TOPIC) class LoggerJBossLogWithStaticField {
private static final org.jboss.logging.Logger log = org.jboss.logging.Logger.getLogger(LoggerJBossLogWithStaticField.TOPIC);
static final String TOPIC = "StaticField";
<clinit>() {
}
LoggerJBossLogWithStaticField() {
super();
}
}