other: 移除 server.Server.OnConnectionClosedEvent 和 server.Server.OnConnectionOpenedEvent 的日志

This commit is contained in:
kercylan98 2023-07-06 14:06:20 +08:00
parent 8e3325fcd8
commit 7065448ddf
1 changed files with 0 additions and 2 deletions

View File

@ -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)
}