We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc1b3ed commit eb24bb9Copy full SHA for eb24bb9
server/socket/ws.go
@@ -148,7 +148,7 @@ func (c *Client) Read() {
148
// 给 client 发送消息
149
func (c *Client) Write() {
150
defer func() {
151
- common.Log.Info("client [%s] disconnect", c.Id)
+ common.Log.Infof("client [%s] disconnect", c.Id)
152
if err := c.Socket.Close(); err != nil {
153
common.Log.Warnf("client [%s] disconnect err: %s", c.Id, err)
154
}
0 commit comments