From 58d4ef9af9c906acf2e9f65a3e65092363c8e1cd Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期四, 24 八月 2023 17:42:49 +0800
Subject: [PATCH] 2023年08月24日17:42:25

---
 HDL_ON/Common/Utlis.cs |   28 +++++++++++++++++++++++-----
 1 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/HDL_ON/Common/Utlis.cs b/HDL_ON/Common/Utlis.cs
index 13a4af0..956fc06 100644
--- a/HDL_ON/Common/Utlis.cs
+++ b/HDL_ON/Common/Utlis.cs
@@ -20,11 +20,29 @@
 #endif
         }
 
-        /// <summary>
-        /// 寮圭獥鎻愮ず
-        /// </summary>
-        /// <param name="mes"></param>
-        public static void ShowAlertOnMainThread(string mes)
+		/// <summary>
+		/// 鍏ㄥ眬鎵撳嵃
+		/// </summary>
+		/// <param name="tag">鎻忚堪淇℃伅</param>
+		/// <param name="url">璇锋眰鍦板潃(鍙互鏍规嵁鍦板潃杩囨护璇ユ暟鎹�)</param>
+		/// <param name="content">淇℃伅鍐呭</param>
+		public static void WriteLine(string tag,string url,string content)
+		{
+#if DEBUG
+			if (url == "")
+			{
+				return;
+			}
+			string text = tag + "======" + url + "\r\n" + content;
+			Console.WriteLine(text);
+#endif
+		}
+
+		/// <summary>
+		/// 寮圭獥鎻愮ず
+		/// </summary>
+		/// <param name="mes"></param>
+		public static void ShowAlertOnMainThread(string mes)
         {
             Application.RunOnMainThread(() => {
                 new Alert("", mes, Language.StringByID(StringId.Close)).Show();

--
Gitblit v1.8.0