【SpringBoot】lombok插件代替每次Logger的实例化

1、idea安装lombok插件

2、没有安装插件之前使用方式


3、使用插件之后使用方式


4、该插件支持的@Data注解,可以自动为属性提供getter和setter方法,还有单独的@Getter和@Setter等等其他。

猜你喜欢

转载自blog.csdn.net/zlt995768025/article/details/79790061