1
0

fix: 降低请求生命周期日志级别

This commit is contained in:
2026-05-05 01:54:53 +08:00
parent 7653385838
commit 9e33e570af
5 changed files with 77 additions and 6 deletions

View File

@@ -54,7 +54,7 @@ func NewProxyHandler(..., logger *zap.Logger) *ProxyHandler {
使用 `pkg/logger/field.go` 中定义的字段构造函数:
```go
logger.Info("请求开始",
logger.Debug("请求开始",
pkglogger.Method("POST"),
pkglogger.Path("/v1/chat"),
pkglogger.RequestID("xxx"),