增加output日志类型
This commit is contained in:
parent
6c9a149fb3
commit
e424db29c5
19
logger.go
19
logger.go
@ -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" // 缓存日志
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user