From 736fb5782d375908a9097780743913193ffde494 Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期四, 03 七月 2025 17:28:14 +0800 Subject: [PATCH] 完善部分日志内容,优化查询语句和日志打印代码 --- util/LogHelper.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/util/LogHelper.cs b/util/LogHelper.cs index 0afe82a..4d2f3d4 100644 --- a/util/LogHelper.cs +++ b/util/LogHelper.cs @@ -68,17 +68,17 @@ if (logger != null) { logger.Error($"{message}{ex.StackTrace}"); } - } + } - // ------------ - + #region 鑷畾涔夋柟娉� public static void InfoEx(Exception ex) { Info($"鍙戠敓浜嗗紓甯革細{ex.Message}\n{ex.StackTrace}"); } public static void InfoApi(string apiName, object model) { Info($"瑙﹀彂API锛歿apiName} " + JsonConvert.SerializeObject(model), "API"); - } + } + #endregion } -- Gitblit v1.9.1