Esempio n. 1
0
 public bool WriteLog(string _log, System.Diagnostics.EventLogEntryType _logType)
 {
     if (_dbLogwriter != null)
     {
         return(_dbLogwriter.WriteLog(_log, _logType));
     }
     return(false);
 }
Esempio n. 2
0
 public static bool WriteLog(string _msg, EventLogEntryType _type)
 {
     if (_ics_SystemLog != null)
     {
         return(_ics_SystemLog.WriteLog(_msg, _type));
     }
     return(true);
 }