Spring boot 使用Slf4j 日志

1.安装插件:lombok

2.使用类添加注解:@Slf4j

3.方法内使用:log.info("Response值{}:",JSONObject.toJSONString(apiResponse.getData()));

原文地址:https://www.cnblogs.com/banml/p/11637234.html