springboot 配置mybatis sql的打印
application.yml文件添加(.properties把":“换成”." 写到一行上)
#日志
logging:
level:
com.example.service.mapper: debug (对应项目的mapper层路径)
application.yml文件添加(.properties把":“换成”." 写到一行上)
#日志
logging:
level:
com.example.service.mapper: debug (对应项目的mapper层路径)