Browse Source

增加两个log for客户端

大爷 2 years ago
parent
commit
cd9ceaa5d8
2 changed files with 2 additions and 0 deletions
  1. 1 0
      Common/CommonAI/ZoneClient/ZoneLayer.cs
  2. 1 0
      Common/CommonLang/Log/Loggin.cs

+ 1 - 0
Common/CommonAI/ZoneClient/ZoneLayer.cs

@@ -460,6 +460,7 @@ namespace CommonAI.ZoneClient
         {
             try
             {
+                log.Debug($"<<<layerEvent: {msg}");
                 if (msg is ActorResponse)
                 {
                     var rsp = msg as ActorResponse;

+ 1 - 0
Common/CommonLang/Log/Loggin.cs

@@ -228,6 +228,7 @@ namespace CommonLang.Log
 #if ClientOnly
         public override void LogLevel(uint level, string msg, Exception err)
         {
+            msg = "[dll]" + msg;
             if (err != null)
             {
                 msg = msg + " : " + err.Message + "\r\n" + err.StackTrace;