mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 16:02:26 +08:00
修改日志模块
This commit is contained in:
@@ -25,7 +25,7 @@ import (
|
||||
func Run(ctx context.Context, configFile string) error {
|
||||
config.InitConfig(configFile)
|
||||
|
||||
logger.InitLogger("gs", config.CONF.Logger)
|
||||
logger.InitLogger("gs")
|
||||
logger.LOG.Info("gs start")
|
||||
|
||||
constant.InitConstant()
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
func TestAoiManagerGetSurrGridListByGid(t *testing.T) {
|
||||
filePath := "./application.toml"
|
||||
config.InitConfig(filePath)
|
||||
logger.InitLogger("", config.CONF.Logger)
|
||||
logger.InitLogger("")
|
||||
aoiManager := NewAoiManager(
|
||||
-150, 150, 3,
|
||||
-150, 150, 3,
|
||||
|
||||
@@ -73,7 +73,7 @@ func (g *GameManager) Stop() {
|
||||
LOCAL_EVENT_MANAGER.localEventChan <- &LocalEvent{
|
||||
EventId: RunUserCopyAndSave,
|
||||
}
|
||||
time.Sleep(time.Second * 5)
|
||||
time.Sleep(time.Second * 3)
|
||||
//g.worldManager.worldStatic.SaveTerrain()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user