mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-09-19 04:06:18 +08:00
refactor(log): redir utils.Log to logrus after init (#833)
This commit is contained in:
@ -53,4 +53,5 @@ func Log() {
|
|||||||
}
|
}
|
||||||
log.SetOutput(logrus.StandardLogger().Out)
|
log.SetOutput(logrus.StandardLogger().Out)
|
||||||
utils.Log.Infof("init logrus...")
|
utils.Log.Infof("init logrus...")
|
||||||
|
utils.Log = logrus.StandardLogger()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user