1 2 3 4 5 6 7 8 9 10 11 12 13 14
//CONF: lombok.log.custom.declaration = before.MyLogger before.MyLoggerFactory.create(TYPE) package before; @lombok.CustomLog class LoggerCustomLog { } class MyLoggerFactory { static MyLogger create(Class<?> clazz) { return null; } } class MyLogger { }