mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 22:00:11 +08:00
🎨 优化 win logrus 色彩显示
This commit is contained in:
parent
9519896d04
commit
205036b658
@ -37,7 +37,7 @@ func (f LogFormat) Format(entry *logrus.Entry) ([]byte, error) {
|
||||
|
||||
buf.WriteByte('[')
|
||||
buf.WriteString(strings.ToUpper(entry.Level.String()))
|
||||
buf.WriteString("]: ")
|
||||
buf.WriteString("] ")
|
||||
buf.WriteString(entry.Message)
|
||||
buf.WriteString(" \n")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user