From ec22b14b0395df0ab97d1adf5b589a187bb62e59 Mon Sep 17 00:00:00 2001 From: ningshuxia <ningshuxia0927@outlook.com> Date: 星期二, 07 五月 2024 11:24:09 +0800 Subject: [PATCH] 调度接口(60) --- WebApi/IStation.Application.Core/0-core/3-helper/Log.cs | 26 +++++++++++--------------- 1 files changed, 11 insertions(+), 15 deletions(-) diff --git a/WebApi/IStation.Application.Core/0-core/3-helper/Log.cs b/WebApi/IStation.Application.Core/0-core/3-helper/Log.cs index 2bc70ef..6cf627d 100644 --- a/WebApi/IStation.Application.Core/0-core/3-helper/Log.cs +++ b/WebApi/IStation.Application.Core/0-core/3-helper/Log.cs @@ -7,42 +7,38 @@ { /// <summary> /// 鍐欏叆淇℃伅鏃ュ織 - /// </summary> - /// <param name="flowId"></param> + /// </summary> /// <param name="info"></param> - public static void Info(string flowId, string info) + public static void Info(string info) { - Yw.LogHelper.Info(GetLogInfo(flowId, info)); + Yw.LogHelper.Info(GetLogInfo(info)); } - - /// <summary> /// 鍐欏叆璋冭瘯鏃ュ織 - /// </summary> - /// <param name="flowId"></param> + /// </summary> /// <param name="info"></param> - public static void Debug(string flowId, string info) + public static void Debug(string info) { - Yw.LogHelper.Debug(GetLogInfo(flowId, info)); + Yw.LogHelper.Debug(GetLogInfo(info)); } /// <summary> /// 鍐欏叆閿欒鏃ュ織 - /// </summary> + /// </summary> /// <param name="info"></param> /// <param name="ex"></param> - public static void Error(string flowId, string info, Exception ex = null) + public static void Error(string info, Exception ex = null) { - Yw.LogHelper.Error(GetLogInfo(flowId, info), ex); + Yw.LogHelper.Error(GetLogInfo(info), ex); } - private static string GetLogInfo(string flowId, string info) + private static string GetLogInfo(string info) { - return $"{flowId}:{info}"; + return $"{info}"; } } } -- Gitblit v1.9.3