From 7065448ddfe9ffc8b09e2133df3c56726bbbdbde Mon Sep 17 00:00:00 2001 From: kercylan98 Date: Thu, 6 Jul 2023 14:06:20 +0800 Subject: [PATCH] =?UTF-8?q?other:=20=E7=A7=BB=E9=99=A4=20server.Server.OnC?= =?UTF-8?q?onnectionClosedEvent=20=E5=92=8C=20server.Server.OnConnectionOp?= =?UTF-8?q?enedEvent=20=E7=9A=84=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/event.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/event.go b/server/event.go index 6105a4d..4ce4063 100644 --- a/server/event.go +++ b/server/event.go @@ -107,7 +107,6 @@ func (slf *event) RegConnectionClosedEvent(handle ConnectionClosedEventHandle) { } func (slf *event) OnConnectionClosedEvent(conn *Conn, err any) { - log.Debug("Server", zap.String("ConnectionClosed", conn.GetID())) for _, handle := range slf.connectionClosedEventHandles { handle(slf.Server, conn, err) } @@ -124,7 +123,6 @@ func (slf *event) RegConnectionOpenedEvent(handle ConnectionOpenedEventHandle) { } func (slf *event) OnConnectionOpenedEvent(conn *Conn) { - log.Debug("Server", zap.String("ConnectionOpened", conn.GetID())) for _, handle := range slf.connectionOpenedEventHandles { handle(slf.Server, conn) }