Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
chore: remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ggmolly committed Jul 20, 2024
1 parent 5f23602 commit 548df33
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions answer/handle_mail_deal_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (

"github.com/ggmolly/belfast/connection"
"github.com/ggmolly/belfast/consts"
"github.com/ggmolly/belfast/logger"
"github.com/ggmolly/belfast/orm"
"github.com/ggmolly/belfast/protobuf"
"google.golang.org/protobuf/proto"
Expand Down Expand Up @@ -108,8 +107,6 @@ func HandleMailDealCmd(buffer *[]byte, client *connection.Client) (int, int, err
return 0, 30006, err
}

logger.LogEvent("Mail", "HandleMailDealCmd", payload.String(), logger.LOG_LEVEL_INFO)

response := protobuf.SC_30007{
Result: proto.Uint32(0),
UnreadNumber: proto.Uint32(0),
Expand Down Expand Up @@ -156,7 +153,5 @@ func HandleMailDealCmd(buffer *[]byte, client *connection.Client) (int, int, err
}
response.MailIdList = mailIds
}

logger.LogEvent("Mail", "HandleMailDealCmdResponse", response.String(), logger.LOG_LEVEL_INFO)
return client.SendMessage(30007, &response)
}

0 comments on commit 548df33

Please sign in to comment.