import lombok.extern.slf4j.Slf4j; @lombok.extern.slf4j.Slf4j class LoggerSlf4j { } @Slf4j class LoggerSlf4jWithImport { } class LoggerSlf4jOuter { @lombok.extern.slf4j.Slf4j static class Inner { } } @Slf4j(topic="DifferentLogger") class LoggerSlf4jWithDifferentLoggerName { } @Slf4j(topic=LoggerSlf4jWithStaticField.TOPIC) class LoggerSlf4jWithStaticField { static final String TOPIC = "StaticField"; } @Slf4j(topic=LoggerSlf4jWithTwoStaticFields.TOPIC + LoggerSlf4jWithTwoStaticFields.TOPIC) class LoggerSlf4jWithTwoStaticFields { static final String TOPIC = "StaticField"; } @Slf4j(topic="A"+"B") class LoggerSlf4jWithTwoLiterals { }