mirror of
https://github.com/tiennm99/lombok.git
synced 2026-08-01 22:22:27 +00:00
[Log] updated naming for @Log (topic= instead of mchmulder's 'value').
25 lines
816 B
Java
25 lines
816 B
Java
import lombok.extern.apachecommons.CommonsLog;
|
|
@lombok.extern.apachecommons.CommonsLog class LoggerCommons {
|
|
private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(LoggerCommons.class);
|
|
<clinit>() {
|
|
}
|
|
LoggerCommons() {
|
|
super();
|
|
}
|
|
}
|
|
@CommonsLog class LoggerCommonsWithImport {
|
|
private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(LoggerCommonsWithImport.class);
|
|
<clinit>() {
|
|
}
|
|
LoggerCommonsWithImport() {
|
|
super();
|
|
}
|
|
}
|
|
@CommonsLog(topic = "DifferentName") class LoggerCommonsWithDifferentName {
|
|
private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog("DifferentName");
|
|
<clinit>() {
|
|
}
|
|
LoggerCommonsWithDifferentName() {
|
|
super();
|
|
}
|
|
} |