增加output日志类型
This commit is contained in:
parent
6c9a149fb3
commit
e424db29c5
19
logger.go
19
logger.go
@ -46,13 +46,14 @@ const (
|
||||
)
|
||||
|
||||
const (
|
||||
LogTypeAccess = "access"
|
||||
LogTypeRequest = "request"
|
||||
LogTypeProxy = "proxy"
|
||||
LogTypeBusiness = "business"
|
||||
LogTypeMonitor = "monitor"
|
||||
LogTypeDatabase = "database"
|
||||
LogTypeRateLimit = "rate-limit"
|
||||
LogTypeEvent = "event"
|
||||
LogTypeCache = "cache"
|
||||
LogTypeAccess = "access" // 访问日志
|
||||
LogTypeRequest = "request" // 请求日志
|
||||
LogTypeOutput = "output" // 响应日志
|
||||
LogTypeProxy = "proxy" // 代理请求日志
|
||||
LogTypeBusiness = "business" // 业务日志
|
||||
LogTypeMonitor = "monitor" // 监控日志
|
||||
LogTypeDatabase = "database" // 数据库日志
|
||||
LogTypeRateLimit = "rate-limit" // 流控日志
|
||||
LogTypeEvent = "event" // 事件日志
|
||||
LogTypeCache = "cache" // 缓存日志
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user