mybatis-plus配置控制台打印sql语句

yml文件配置:

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