fix: debug level default

This commit is contained in:
Simon Ding
2024-07-25 20:34:43 +08:00
parent 891be34504
commit 8bc9076d90

View File

@@ -15,7 +15,7 @@ const dataPath = "./data"
func init() {
atom = zap.NewAtomicLevel()
atom.SetLevel(zap.DebugLevel)
filer, _, err := zap.Open(filepath.Join(dataPath, "polaris.log"))
if err != nil {
panic(err)