mirror of
https://github.com/tiennm99/lombok.git
synced 2026-08-01 08:21:01 +00:00
[Log] updated naming for @Log (topic= instead of mchmulder's 'value').
25 lines
734 B
Java
25 lines
734 B
Java
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();
|
|
}
|
|
} |