mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-05-06 20:11:27 +08:00
【更新】更新
This commit is contained in:
@@ -10,8 +10,10 @@ import (
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
var Log *logrus.Logger
|
||||
|
||||
func InitLog(logConf *config.Log) *logrus.Logger {
|
||||
var Log = logrus.New()
|
||||
Log = logrus.New()
|
||||
Log.SetFormatter(new(LogFormatter))
|
||||
Log.SetReportCaller(true)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user