1 2 3 4 5 6 7 8 9
import lombok.extern.log4j.Log4j; @lombok.extern.log4j.Log4j class LoggerLog4j { } @Log4j class LoggerLog4jWithImport { }