From 548df3354e01f1cc18171336850cc03e7ae2a34b Mon Sep 17 00:00:00 2001 From: ggmolly Date: Sat, 20 Jul 2024 22:32:44 +0200 Subject: [PATCH] chore: remove logs --- answer/handle_mail_deal_cmd.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/answer/handle_mail_deal_cmd.go b/answer/handle_mail_deal_cmd.go index 3df4f10..694dad7 100644 --- a/answer/handle_mail_deal_cmd.go +++ b/answer/handle_mail_deal_cmd.go @@ -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" @@ -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), @@ -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) }