From 53d582ad41d8450b21045b2d862a532ecc57a9ba Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期一, 26 五月 2025 17:29:57 +0800 Subject: [PATCH] 抽检移库基本测完,添加TCP模拟测试输送线产品下线的逻辑 --- util/LogHelper.cs | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/util/LogHelper.cs b/util/LogHelper.cs index 7221e4e..0afe82a 100644 --- a/util/LogHelper.cs +++ b/util/LogHelper.cs @@ -70,15 +70,15 @@ } } - #region 鑷畾涔夋柟娉�- public static void InfoEx(Exception ex) { - Info($"寮傚父锛歿ex.Message}"); - } + // ------------ - public static void InfoApi(string taskType, object model) { - Info($"瑙﹀彂API锛歿taskType} " + JsonConvert.SerializeObject(model), "API"); + public static void InfoEx(Exception ex) { + Info($"鍙戠敓浜嗗紓甯革細{ex.Message}\n{ex.StackTrace}"); } - #endregion + + public static void InfoApi(string apiName, object model) { + Info($"瑙﹀彂API锛歿apiName} " + JsonConvert.SerializeObject(model), "API"); + } } -- Gitblit v1.9.1