Mybaits-plus 开启SQL日志的两种方式

方式1:

mybatis-plus:
  configuration:
        log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #开启sql日志



方式2:

logging:
  level:
    com.fawvw.ftb3.tdp.main.adapter.infrastructure.dao.mapper: debug

  

posted on 2022-02-18 16:27  滚动的蛋  阅读(769)  评论(0编辑  收藏  举报

导航