mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 09:38:26 +08:00
update docs
This commit is contained in:
parent
d5342f3792
commit
09a6789482
@ -6,7 +6,7 @@ MyBatis-Flex 内置了 SQL 打印分析的功能,其是使用 SQL 审计模块
|
||||
|
||||
```java
|
||||
//开启审计功能
|
||||
AuditManager.setEnable(true);
|
||||
AuditManager.setAuditEnable(true);
|
||||
|
||||
//设置 SQL 审计收集器
|
||||
MessageCollector collector = new ConsoleMessageCollector();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user