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: 127.0.0.1
password: sundynix
port: 6379
zap:
director: log
encode-level: LowercaseColorLevelEncoder
format: console
level: debug
log-in-console: true
prefix: '[sundynix-go]'
retention-day: 5
show-line: true
stacktrace-key: stacktrace