✏️ 增加一点注释

This commit is contained in:
fumiama 2021-12-03 23:12:45 +08:00
parent fcf6d087a7
commit d0d07604e5

View File

@ -9,6 +9,7 @@ import (
) )
func init() { func init() {
// windows 不支持带颜色的 log故自定义格式
logrus.SetFormatter(&easy.Formatter{ logrus.SetFormatter(&easy.Formatter{
LogFormat: "[%lvl%] %msg%\n", LogFormat: "[%lvl%] %msg%\n",
}) })