blob: f6310bf5db222182fc1b048882a2e01e10f6b27f (
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
35
36
37
38
39
40
41
42
|
import lombok.extern.slf4j.Slf4j;
@lombok.extern.slf4j.Slf4j
class LoggerSlf4j {
}
@Slf4j
class LoggerSlf4jWithImport {
}
@Slf4j
enum LoggerSlf4jWithEnum {
CONSTANT;
}
class LoggerSlf4jWithInnerEnum {
@Slf4j
enum Inner {
CONSTANT;
}
}
class LoggerSlf4jOuter {
@lombok.extern.slf4j.Slf4j
static class Inner {
}
}
@Slf4j(topic="DifferentLogger")
class LoggerSlf4jWithDifferentLoggerName {
}
@Slf4j(topic=LoggerSlf4jWithStaticField.TOPIC)
class LoggerSlf4jWithStaticField {
static final String TOPIC = "StaticField";
}
@Slf4j(topic=LoggerSlf4jWithTwoStaticFields.TOPIC + LoggerSlf4jWithTwoStaticFields.TOPIC)
class LoggerSlf4jWithTwoStaticFields {
static final String TOPIC = "StaticField";
}
|