增加日志一些变量的枚举值

This commit is contained in:
白茶清欢 2024-06-24 16:36:52 +08:00
parent 92f8bcd8ed
commit 2598eb986e

View File

@ -25,3 +25,22 @@ const (
const (
LogPathDefault = "logs"
)
const (
LogMessageKey = "message"
LogLevelKey = "level"
LogTimeKey = "time"
LogCallerKey = "caller"
)
const (
LogAccessName = "access.log"
LogRequestName = "request.log"
LogProxyName = "proxy.log"
LogBusinessName = "business.log"
LogMonitorName = "monitor.log"
LogDatabaseName = "database.log"
LogRateLimitName = "rate-limit.log"
LogEventName = "event.log"
LogCacheName = "cache.log"
)