blob: 04acdd77680bebbc1f22751e91145144b9c44195 (
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
26
27
28
29
30
31
32
33
34
|
import lombok.extern.slf4j.XSlf4j;
@lombok.extern.slf4j.XSlf4j class LoggerXSlf4j {
private static final org.slf4j.ext.XLogger log = org.slf4j.ext.XLoggerFactory.getXLogger(LoggerXSlf4j.class);
<clinit>() {
}
LoggerXSlf4j() {
super();
}
}
@XSlf4j class LoggerXSlf4jWithImport {
private static final org.slf4j.ext.XLogger log = org.slf4j.ext.XLoggerFactory.getXLogger(LoggerXSlf4jWithImport.class);
<clinit>() {
}
LoggerXSlf4jWithImport() {
super();
}
}
@XSlf4j(topic = "DifferentName") class LoggerXSlf4jWithDifferentName {
private static final org.slf4j.ext.XLogger log = org.slf4j.ext.XLoggerFactory.getXLogger("DifferentName");
<clinit>() {
}
LoggerXSlf4jWithDifferentName() {
super();
}
}
@XSlf4j(topic = LoggerXSlf4jWithStaticField.TOPIC) class LoggerXSlf4jWithStaticField {
private static final org.slf4j.ext.XLogger log = org.slf4j.ext.XLoggerFactory.getXLogger(LoggerXSlf4jWithStaticField.TOPIC);
static final String TOPIC = "StaticField";
<clinit>() {
}
LoggerXSlf4jWithStaticField() {
super();
}
}
|