Package lombok.extern.java
Annotation Type Log
-
@Retention(SOURCE) @Target(TYPE) public @interface LogCauses lombok to generate a logger field.Complete documentation is found at the project lombok features page for lombok log annotations.
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.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Stringtopic
-