blob: f6f857441e1286fd899c3f83856c7ade607c6c55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
@lombok.CustomLog(topic = "t") class LoggerCustomLog {
private static final MyLoggerFactory log = MyLoggerFactory.create(LoggerCustomLog.class.getName(), "t", null, LoggerCustomLog.class, "t");
<clinit>() {
}
LoggerCustomLog() {
super();
}
}
@lombok.CustomLog(topic = LoggerCustomLogWithStaticField.TOPIC) class LoggerCustomLogWithStaticField {
private static final MyLoggerFactory log = MyLoggerFactory.create(LoggerCustomLogWithStaticField.class.getName(), LoggerCustomLogWithStaticField.TOPIC, null, LoggerCustomLogWithStaticField.class, LoggerCustomLogWithStaticField.TOPIC);
static final String TOPIC = "StaticField";
<clinit>() {
}
LoggerCustomLogWithStaticField() {
super();
}
}
class MyLoggerFactory {
MyLoggerFactory() {
super();
}
static MyLoggerFactory create(String name, String t1, Object o, Class<?> clazz, String t2) {
return null;
}
}
|