feat(config): add log level configuration and update logging initialization, close #202

This commit is contained in:
krau
2026-04-14 09:41:02 +08:00
parent 159dba6224
commit 8f67f778a3
5 changed files with 35 additions and 13 deletions

5
config/log.go Normal file
View File

@@ -0,0 +1,5 @@
package config
type logConfig struct {
Level string `toml:"level" mapstructure:"level" json:"level"`
}