yml配置

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

properties配置

#mybatis日志
mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
Last modification:March 22nd, 2021 at 08:25 pm
如果觉得这篇技术文章对你有用,请随意赞赏