|
Lombok - v0.11.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Retention(value=SOURCE) @Target(value=TYPE) public @interface Log
Causes lombok to generate a logger field. Example:
@Log
public class LogExample {
}
will generate:
public class LogExample {
private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(LogExample.class.getName());
}
This annotation is valid for classes and enumerations.
java.util.logging.Logger,
java.util.logging.Logger.getLogger(String name),
@CommonsLog,
@Log4j,
@Slf4j
|
Lombok - v0.11.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||