修改日志
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user