mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 22:00:11 +08:00
✏️ 增加一点注释
This commit is contained in:
parent
fcf6d087a7
commit
d0d07604e5
@ -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",
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user