feat:update log

This commit is contained in:
wenjianzhang committed 2020-07-24 18:10:25 +08:00
1 parent 0768efbcb3
commit f3adadd6ef
20 files changed
+194 -146

No files matched your search

-11
View File
@@ -1,12 +1 @@
package global
import (
"github.com/sirupsen/logrus"
)
var RequestLogger = &logrus.Entry{}
func init() {
// TODO: requestLogger log format
// RequestLogger = logrus.WithFields(logrus.Fields{"request_id": request_id, "user_ip": user_ip})
}