Split and optimize gin logger

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2026-01-21 09:13:13 +08:00
parent 632fa6cf8e
commit 3f8f2547be
4 changed files with 51 additions and 27 deletions

View File

@@ -32,6 +32,6 @@ func Init() {
log.Fatalln("Can't read config!")
}
if err := viper.Unmarshal(conf); err != nil {
log.Fatal(err)
log.Fatalln(err)
}
}