mirror of
https://github.com/simon-ding/polaris.git
synced 2026-05-26 20:47:57 +08:00
fix: debug level default
This commit is contained in:
@@ -15,7 +15,7 @@ const dataPath = "./data"
|
|||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
atom = zap.NewAtomicLevel()
|
atom = zap.NewAtomicLevel()
|
||||||
|
atom.SetLevel(zap.DebugLevel)
|
||||||
filer, _, err := zap.Open(filepath.Join(dataPath, "polaris.log"))
|
filer, _, err := zap.Open(filepath.Join(dataPath, "polaris.log"))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
|||||||
Reference in New Issue
Block a user