feat: zap日志配置

This commit is contained in:
Blizzard
2025-04-25 12:58:31 +08:00
parent 1de88e2dac
commit 507c2bd11e
13 changed files with 424 additions and 3 deletions
+13
View File
@@ -7,3 +7,16 @@ redis:
host: 192.168.100.127
password: sundynix
port: 6379
# zap日志配置
zap:
director: log
encode-level: LowercaseColorLevelEncoder
format: console
level: info
log-in-console: true
prefix: '[sundynix-go]'
retention-day: -1
show-line: true
stacktrace-key: stacktrace