From 1f8b7e1d706bdf9598a15f95c0d9a1a41f9e4c88 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Wed, 3 Jul 2024 14:47:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0rabbitmq=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public | 2 +- worldsrv/logchannel.go | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/public b/public index 63eadb8..3f6ae47 160000 --- a/public +++ b/public @@ -1 +1 @@ -Subproject commit 63eadb869736b9d3e16c993cd99675c0e0de638c +Subproject commit 3f6ae474769f33050525f59aed42321b93a788cc diff --git a/worldsrv/logchannel.go b/worldsrv/logchannel.go index 44f9987..322554d 100644 --- a/worldsrv/logchannel.go +++ b/worldsrv/logchannel.go @@ -3,6 +3,8 @@ package main import ( "reflect" + "mongo.games.com/goserver/core/logger" + "mongo.games.com/game/model" "mongo.games.com/game/mq" ) @@ -39,6 +41,7 @@ func (c *LogChannel) WriteLog(log interface{}) { if cname == "" { cname = "_null_" } + logger.Logger.Tracef("==> RabbitMQ(%v): %#v", cname, log) mq.Send(cname, log) }