Mybatis-Plus控制台打印日志
mybatis-plus: configuration: log-impl: org.apache.ib ...
yml配置文件中加入配置 Mybatis plus Mybatis ...
2020-07-31 09:09 0 6872 推薦指數:
mybatis-plus: configuration: log-impl: org.apache.ib ...
springboot工程下: 在application.yml添加配置 ...
方法一、在application.yml添加配置 方法二、 mapper增加日志等級為debug mybaits相關配置 ...
yml文件配置: ...
1、日志記錄效果圖 2、控制台輸出效果圖 3、application-dev.yml # mybatis mybatis: mapper-locations: classpath:mapper/*.xml #注意:一定要對應mapper映射xml文件的所在路徑 ...
spring boot 版本2.1.5 mybatis plus 版本3.1.1 aplication.properties中添加 ...