kazelee
2025-05-21 a8627a98b82d2364cbe849ca746e72fbab9916e5
util/LogHelper.cs
File was renamed from Helpers/LogHelper.cs
@@ -35,8 +35,6 @@
            }
        }
        public static void Info(string message, string name = "") {
            //logger.Info(message);
            ILogger logger = null;
@@ -77,15 +75,6 @@
            }
        }
        #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");
        }
        #endregion
    }
    internal class LogFactory