Beispiel #1
0
 public void LogEvent(EventType eventType, EventParams eventParams)
 {
     if ((eventType & appConfigManager.Config.EventLogging) != eventType)
     {
         return;
     }
     try
     {
         EventLog.WriteEntry(SOURCE_NAME, eventParams.ToString(), EventLogEntryType.Information);
     }
     catch (Exception ex)
     {
         Log.ErrorException("Error writing to windows event log", ex);
     }
 }
Beispiel #2
0
 public void LogEvent(EventType eventType, EventParams eventParams)
 {
 }