1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
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 { }