From 74486f65cf3a47647594c72532e86747a026fe84 Mon Sep 17 00:00:00 2001 From: fumiama Date: Sun, 19 Sep 2021 17:06:24 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20=20=E7=AE=80=E5=8C=96&?= =?UTF-8?q?=E7=BE=8E=E5=8C=96=E6=97=A5=E5=BF=97=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main.go b/main.go index dbe22d9b..e4ebde79 100644 --- a/main.go +++ b/main.go @@ -42,7 +42,6 @@ import ( // 以下为内置依赖,勿动 log "github.com/sirupsen/logrus" - easy "github.com/t-tomalak/logrus-easy-formatter" zero "github.com/wdvxdr1123/ZeroBot" "github.com/wdvxdr1123/ZeroBot/driver" ) @@ -58,10 +57,6 @@ var ( ) func init() { - log.SetFormatter(&easy.Formatter{ - TimestampFormat: "2006-01-02 15:04:05", - LogFormat: "[zero][%time%][%lvl%]: %msg% \n", - }) log.SetLevel(log.DebugLevel) }