From 2b6b0e31983fbf4522f60d0c4e05f3a5a0d6ecc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=80=E6=BA=90=E6=B5=B7=E5=93=A5?= Date: Sun, 23 Jul 2023 12:36:56 +0800 Subject: [PATCH] test: add logImpl --- .../src/main/java/com/mybatisflex/test/AccountTester.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mybatis-flex-test/mybatis-flex-native-test/src/main/java/com/mybatisflex/test/AccountTester.java b/mybatis-flex-test/mybatis-flex-native-test/src/main/java/com/mybatisflex/test/AccountTester.java index 9db4761a..3b02bfe4 100644 --- a/mybatis-flex-test/mybatis-flex-native-test/src/main/java/com/mybatisflex/test/AccountTester.java +++ b/mybatis-flex-test/mybatis-flex-native-test/src/main/java/com/mybatisflex/test/AccountTester.java @@ -24,6 +24,7 @@ import com.mybatisflex.core.query.QueryWrapper; import com.mybatisflex.core.row.DbChain; import com.mybatisflex.core.update.UpdateWrapper; import com.mybatisflex.core.util.UpdateEntity; +import org.apache.ibatis.logging.stdout.StdOutImpl; import org.junit.BeforeClass; import org.junit.Test; import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder; @@ -49,6 +50,7 @@ public class AccountTester { MybatisFlexBootstrap bootstrap = MybatisFlexBootstrap.getInstance() .setDataSource(dataSource) + .setLogImpl(StdOutImpl.class) .addMapper(AccountMapper.class) .start();