【更新】更新

This commit is contained in:
PandaGoAdmin
2022-08-02 17:19:14 +08:00
parent 791a23306c
commit 0555922a90
50 changed files with 678 additions and 450 deletions

View File

@@ -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)