mybatis-plus-SQL的日志输出StdOutImpl、NoLoggingImpl以及自定义打印

1:sql日志的输出

mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl

2:sql日志不输出

mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.nologging.NoLoggingImpl

源码:

org.apache.ibatis.logging.stdout.StdOutImpl

 

 

 

org.apache.ibatis.logging.nologging.NoLoggingImpl

 

posted @ 2023-05-09 11:03  鸭猪是的念来过倒  阅读(697)  评论(0编辑  收藏  举报