mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-17 16:02:28 +08:00
修改日志模块
This commit is contained in:
@@ -40,7 +40,7 @@ func CheckJsonLoop(path string, errorJsonFileList *[]string, totalJsonFileCount
|
||||
|
||||
func TestCheckJsonValid(t *testing.T) {
|
||||
config.InitConfig("./application.toml")
|
||||
logger.InitLogger("test", config.CONF.Logger)
|
||||
logger.InitLogger("test")
|
||||
errorJsonFileList := make([]string, 0)
|
||||
totalJsonFileCount := 0
|
||||
CheckJsonLoop("./game_data_config/json", &errorJsonFileList, &totalJsonFileCount)
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
func TestInitGameDataConfig(t *testing.T) {
|
||||
config.InitConfig("./application.toml")
|
||||
logger.InitLogger("test", config.CONF.Logger)
|
||||
logger.InitLogger("test")
|
||||
logger.LOG.Info("start load conf")
|
||||
InitGameDataConfig()
|
||||
logger.LOG.Info("load conf finish, conf: %v", CONF)
|
||||
|
||||
Reference in New Issue
Block a user