Esempio n. 1
0
 public static void WriteSysLog(common.SysSeverityLevel level, string code, Exception er)
 {
     WriteSysLog(level, code, er, null);
 }
Esempio n. 2
0
 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));
 }
Esempio n. 3
0
 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);
 }