import lombok.extern.java.Log; @lombok.extern.java.Log class LoggerJul { private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(LoggerJul.class.getName()); () { } LoggerJul() { super(); } } @Log class LoggerJulWithImport { private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(LoggerJulWithImport.class.getName()); () { } LoggerJulWithImport() { super(); } } @Log(topic = "DifferentName") class LoggerJulWithDifferentName { private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger("DifferentName"); () { } LoggerJulWithDifferentName() { super(); } } @Log(topic = LoggerJulWithStaticField.TOPIC) class LoggerJulWithStaticField { private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(LoggerJulWithStaticField.TOPIC); static final String TOPIC = "StaticField"; () { } LoggerJulWithStaticField() { super(); } } @Log enum LoggerJulWithEnum { CONSTANT(), private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(LoggerJulWithEnum.class.getName()); () { } LoggerJulWithEnum() { super(); } } class LoggerJulWithInnerEnum { @Log enum Inner { CONSTANT(), private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(Inner.class.getName()); () { } Inner() { super(); } } LoggerJulWithInnerEnum() { super(); } }