This commit is contained in:
孟帅
2024-04-22 23:08:40 +08:00
parent 82483bd7b9
commit e144b12580
445 changed files with 17457 additions and 6708 deletions

View File

@@ -30,6 +30,6 @@ func ConsumerLog(ctx context.Context, topic string, mqMsg MqMsg, err error) {
// ProducerLog 生产日志
func ProducerLog(ctx context.Context, topic string, mqMsg MqMsg, err error) {
if err != nil {
Logger().Errorf(ctx, ProducerLogErrFormat, topic, string(mqMsg.Body), err)
Logger().Infof(ctx, ProducerLogErrFormat, topic, string(mqMsg.Body), err)
}
}