1 2 3 4 5 6 7 8 9
import lombok.extern.log4j.Log4j2; @lombok.extern.log4j.Log4j2 class LoggerLog4j2 { } @Log4j2 class LoggerLog4j2WithImport { }