mirror of
https://github.com/chillzhuang/blade-tool
synced 2025-01-07 21:45:47 +08:00
🎉 4.4.0.RELEASE 新增黑白名单、脱敏工具、BladeRedis新版工具
This commit is contained in:
parent
f40af1d2ec
commit
2a22da946c
@ -1,5 +1,5 @@
|
||||
<p align="center">
|
||||
<img src="https://img.shields.io/badge/Release-V4.3.0-green.svg" alt="Downloads">
|
||||
<img src="https://img.shields.io/badge/Release-V4.4.0-green.svg" alt="Downloads">
|
||||
<img src="https://img.shields.io/badge/JDK-17+-green.svg" alt="Build Status">
|
||||
<img src="https://img.shields.io/badge/license-LGPL%20v3-blue.svg" alt="Build Status">
|
||||
<img src="https://img.shields.io/badge/Spring%20Cloud-2023-blue.svg" alt="Coverage Status">
|
||||
@ -39,8 +39,8 @@
|
||||
|----------------------|------------|
|
||||
| Java | 17+ |
|
||||
| NodeJS | 18+ |
|
||||
| Spring | 6.1.14 |
|
||||
| Spring Boot | 3.2.10 |
|
||||
| Spring | 6.1.15 |
|
||||
| Spring Boot | 3.2.12 |
|
||||
| Spring Cloud | 2023.0.3 |
|
||||
| Spring Cloud Alibaba | 2023.0.1.2 |
|
||||
| Nacos Alibaba | 2.3.2 |
|
||||
|
@ -166,7 +166,7 @@ public class RequestLogAspect {
|
||||
afterReqArgs.add(requestMethod);
|
||||
afterReqArgs.add(requestURI);
|
||||
afterReqArgs.add(tookMs);
|
||||
afterReqLog.append("================ Response End ================\n");
|
||||
afterReqLog.append("================= Response End ================\n");
|
||||
log.info(afterReqLog.toString(), afterReqArgs.toArray());
|
||||
}
|
||||
}
|
||||
|
@ -132,9 +132,9 @@ public class SqlLogFilter extends FilterEventAdapter {
|
||||
|
||||
private static void printSql(String sql, StatementProxy statement) {
|
||||
// 打印 sql
|
||||
String sqlLogger = "\n\n======= Sql Logger ======================" +
|
||||
String sqlLogger = "\n\n=================== Sql Logger ===================" +
|
||||
"\n{}" +
|
||||
"\n======= Sql Execute Time: {} =======\n";
|
||||
"\n============ Sql Execute Time: {} ===========\n";
|
||||
log.info(sqlLogger, sql.trim(), StringUtil.format(statement.getLastExecuteTimeNano()));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user