mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-12-24 12:57:52 +08:00
add api event user
This commit is contained in:
@@ -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()),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user