blob: 20cc5407d7cbbfd3b9973a1778a38cfa8d9629cd (
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.java.Log;
@lombok.extern.java.Log class LoggerJul {
private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(LoggerJul.class.getName());
<clinit>() {
}
LoggerJul() {
super();
}
}
@Log class LoggerJulWithImport {
private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(LoggerJulWithImport.class.getName());
<clinit>() {
}
LoggerJulWithImport() {
super();
}
}
@Log(topic = "DifferentName") class LoggerJulWithDifferentName {
private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger("DifferentName");
<clinit>() {
}
LoggerJulWithDifferentName() {
super();
}
}
@Log(topic = LoggerJulWithStaticField.TOPIC) class LoggerJulWithStaticField {
private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(LoggerJulWithStaticField.TOPIC);
static final String TOPIC = "StaticField";
<clinit>() {
}
LoggerJulWithStaticField() {
super();
}
}
|