add api event user

This commit is contained in:
刘志杭
2025-12-10 09:51:50 +08:00
parent fd378f1016
commit 1ffdb6e2ab

View File

@@ -58,6 +58,7 @@ func EventLogger() gin.HandlerFunc {
ctx.Request.Method, eum.EventApiRequest,
"uri", ctx.Request.URL.Path,
"method", ctx.Request.Method,
"user", user,
"status", strconv.Itoa(ctx.Writer.Status()),
)
}