feat(log): 扩展日志服务支持操作日志上下文
- 在 ConsoleLogService 中新增 log(LogContext) 方法实现 - 更新 ILogService 接口添加 LogContext 参数的日志方法并提供默认实现 - 在 LogConfig 中添加 LogAspect 切面的异常处理和日志上下文构建功能 - 新增 LogContext 记录类用于封装完整的操作日志信息 - 在 zkh-log 模块中添加 jakarta.servlet-api 依赖以获取请求信息 - 更新所有模块的版本号从 1.5.11 到 1.5.12
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>vip.jcfd</groupId>
|
||||
<artifactId>zkh-framework</artifactId>
|
||||
<version>1.5.11</version>
|
||||
<version>1.5.12</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>zkh-log</artifactId>
|
||||
@ -14,6 +14,10 @@
|
||||
<description>Logging utilities for ZKH framework</description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>jakarta.servlet</groupId>
|
||||
<artifactId>jakarta.servlet-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-aop</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user