mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-17 18:22:18 +00:00
- Removed the option to specify a different class to log on - Updated tests and documentation
17 lines
463 B
Java
17 lines
463 B
Java
import lombok.extern.log4j.Log4j;
|
|
@lombok.extern.log4j.Log4j class LoggerLog4j {
|
|
private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(LoggerLog4j.class);
|
|
<clinit>() {
|
|
}
|
|
LoggerLog4j() {
|
|
super();
|
|
}
|
|
}
|
|
@Log4j class LoggerLog4jWithImport {
|
|
private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(LoggerLog4jWithImport.class);
|
|
<clinit>() {
|
|
}
|
|
LoggerLog4jWithImport() {
|
|
super();
|
|
}
|
|
} |