public static void WriteSysLog(common.SysSeverityLevel level, string code, Exception er) { WriteSysLog(level, code, er, null); }
public static void WriteSysLog(common.SysSeverityLevel level, string code, Exception er, string additionalMsg) { WriteSysLog(level, code, (additionalMsg != null? additionalMsg + common.Consts.constTab :"") + common.SysLog.MakeLogString(er, common.Consts.constTab)); }
public static void WriteSysLog(common.SysSeverityLevel level, string code, string text) { common.SysLog.WriteLog(DateTime.Now.ToString() + common.Consts.constTab + level.ToString() + common.Consts.constTab + code + common.Consts.constTab + text, Settings.sysFileUserLog); }