|
Lombok - v0.10.8 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=SOURCE) @Target(value=TYPE) public @interface CommonsLog
Causes lombok to generate a logger field. Example:
@CommonsLog public class LogExample { }will generate:
public class LogExample { private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(LogExample.class); }This annotation is valid for classes and enumerations.
org.apache.commons.logging.Log
,
org.apache.commons.logging.LogFactory.getLog(Class target)
,
@Log
,
@Log4j
,
@Slf4j
|
Lombok - v0.10.8 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |