修改日志

This commit is contained in:
lzf
2024-09-30 15:55:21 +08:00
parent fb4fee6e30
commit 197476e805

View File

@@ -71,7 +71,7 @@ func SetLogLevel(level string) {
} }
func Init() { func Init() {
globalLog = NewLogger("debug", &Config{ globalLog = NewLogger("app", &Config{
Level: defaultLogLevel, Level: defaultLogLevel,
NeedLogFile: false, NeedLogFile: false,
ConsoleWriter: os.Stdout, ConsoleWriter: os.Stdout,