From a9b7d38741a03ef500ed5d95cd346c74337788bf Mon Sep 17 00:00:00 2001 From: kongyuebin Date: Thu, 11 Nov 2021 21:22:23 +0800 Subject: [PATCH] =?UTF-8?q?main=E6=96=87=E4=BB=B6=E5=BF=BD=E7=95=A5?= =?UTF-8?q?=E6=97=A0=E5=85=B3=E7=B4=A7=E8=A6=81=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gateway/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/main.go b/gateway/main.go index 3f68f15..fc10be7 100644 --- a/gateway/main.go +++ b/gateway/main.go @@ -29,7 +29,7 @@ func main() { ** 注册日志信息 */ func RegisterLogs() { - logs.SetLogger(logs.AdapterFile, + _ = logs.SetLogger(logs.AdapterFile, `{ "filename":"../logs/legend.log", "level":4,