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