日志输出不了: System.out.println(“json对象”);
当配置文件输出到文件夹的时候,程序里 System.out.println(“json对象”);输出不打印,解决方法。
其中配置文件:
logging:
level:
com.meng.weixin.mapper: DEBUG
file:
path: E://test/a
mybatis-plus:
configuration:
log-impl:
本文介绍如何在配置MyBatis Plus时,确保System.out.println输出在写入文件夹的配置下正常工作。通过添加Slf4j日志实现,提供了一个有效的方法,包括类注解和配置详解。
日志输出不了: System.out.println(“json对象”);
当配置文件输出到文件夹的时候,程序里 System.out.println(“json对象”);输出不打印,解决方法。
其中配置文件:
logging:
level:
com.meng.weixin.mapper: DEBUG
file:
path: E://test/a
mybatis-plus:
configuration:
log-impl:
308
6029
4921

被折叠的 条评论
为什么被折叠?
