From 18b6ead94d6fd48350d59e1ec2c48c2d73a20b90 Mon Sep 17 00:00:00 2001 From: lei_lei <96427312+leilei3167@users.noreply.github.com> Date: Wed, 23 Aug 2023 10:22:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E6=97=B6=E5=BA=94=E5=85=88=E9=87=8D=E7=BD=AE?= =?UTF-8?q?beego=E9=BB=98=E8=AE=A4=E7=9A=84logger=20(#823)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/command.go | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/command.go b/commands/command.go index dbdea324..63a01a2a 100644 --- a/commands/command.go +++ b/commands/command.go @@ -148,6 +148,7 @@ func RegisterModel() { // RegisterLogger 注册日志 func RegisterLogger(log string) { + logs.Reset() logs.SetLogFuncCall(true) _ = logs.SetLogger("console") logs.EnableFuncCallDepth(true)