增加output日志类型

This commit is contained in:
白茶清欢 2024-07-26 10:49:39 +08:00
parent 6c9a149fb3
commit e424db29c5

View File

@ -46,13 +46,14 @@ const (
) )
const ( const (
LogTypeAccess = "access" LogTypeAccess = "access" // 访问日志
LogTypeRequest = "request" LogTypeRequest = "request" // 请求日志
LogTypeProxy = "proxy" LogTypeOutput = "output" // 响应日志
LogTypeBusiness = "business" LogTypeProxy = "proxy" // 代理请求日志
LogTypeMonitor = "monitor" LogTypeBusiness = "business" // 业务日志
LogTypeDatabase = "database" LogTypeMonitor = "monitor" // 监控日志
LogTypeRateLimit = "rate-limit" LogTypeDatabase = "database" // 数据库日志
LogTypeEvent = "event" LogTypeRateLimit = "rate-limit" // 流控日志
LogTypeCache = "cache" LogTypeEvent = "event" // 事件日志
LogTypeCache = "cache" // 缓存日志
) )