mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-22 08:00:53 +00:00
feat: 增加启动日志
This commit is contained in:
committed by
zhengkunwang223
parent
c5dfb894ca
commit
f7bd16076e
Vendored
+1
@@ -51,4 +51,5 @@ func Init() {
|
||||
}
|
||||
|
||||
global.CACHE = badger_db.NewCacheDB(cache)
|
||||
global.LOG.Info("init cache successfully")
|
||||
}
|
||||
|
||||
@@ -28,4 +28,5 @@ func Init() {
|
||||
panic(err)
|
||||
}
|
||||
global.DB = db
|
||||
global.LOG.Info("init db successfully")
|
||||
}
|
||||
|
||||
@@ -25,5 +25,5 @@ func Init() {
|
||||
global.LOG.Error(err)
|
||||
panic(err)
|
||||
}
|
||||
global.LOG.Info("Migration did run successfully")
|
||||
global.LOG.Info("Migration run successfully")
|
||||
}
|
||||
|
||||
@@ -7,4 +7,5 @@ import (
|
||||
|
||||
func Init() {
|
||||
global.SESSION = psession.NewPSession(global.CACHE)
|
||||
global.LOG.Info("init session successfully")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user