From 234fb6614a767ab9215d6c1249747e39074b471e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=B1=E7=BA=AF=E5=87=80?= <1113655791@qq.com> Date: Mon, 4 Nov 2024 23:34:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E7=AB=AF=E6=97=A5=E5=BF=97=E7=8A=B6=E6=80=81=E4=B8=BA?= =?UTF-8?q?=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 3527a37..f5abeaa 100644 --- a/client.go +++ b/client.go @@ -42,7 +42,7 @@ func Dial(addr string, op ...client.Option) (cli *Client, err error) { } cli.Client, err = dial.TCP(addr, func(c *client.Client) { - c.Logger.Debug(true) //开启日志打印 + c.Logger.Debug(false) //关闭日志打印 c.Logger.WithHEX() //以HEX显示 c.SetOption(op...) //自定义选项 c.Event.OnReadFrom = protocol.ReadFrom //分包