修改日志
parent
fb4fee6e30
commit
197476e805
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue