mirror of
https://github.com/simon-ding/polaris.git
synced 2026-03-10 03:30:45 +08:00
fix: debug level default
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user