import lombok.extern.slf4j.XSlf4j; @lombok.extern.slf4j.XSlf4j class LoggerXSlf4j { private static final org.slf4j.ext.XLogger log = org.slf4j.ext.XLoggerFactory.getXLogger(LoggerXSlf4j.class); () { } LoggerXSlf4j() { super(); } } @XSlf4j class LoggerXSlf4jWithImport { private static final org.slf4j.ext.XLogger log = org.slf4j.ext.XLoggerFactory.getXLogger(LoggerXSlf4jWithImport.class); () { } LoggerXSlf4jWithImport() { super(); } } @XSlf4j("DifferentName") class LoggerXSlf4jWithDifferentName { private static final org.slf4j.ext.XLogger log = org.slf4j.ext.XLoggerFactory.getXLogger("DifferentName"); () { } LoggerXSlf4jWithDifferentName() { super(); } }