Пример #1
0
 public static void SaveWarningToEventLogs(this string log, service service, eventID eventID)
 {
     EventLogs.SaveWarning(log, (service == service.Null ? (int?)null : (int)service), (eventID == eventID.Null ? (int?)null : (int)eventID));
 }
Пример #2
0
 public static void SaveErrorToEventLogs(this string log)
 {
     EventLogs.SaveError(log);
 }
Пример #3
0
 public static void SaveWarningToEventLogs(this string log)
 {
     EventLogs.SaveWarning(log);
 }
Пример #4
0
 public static void SaveInformationToEventLogs(this string log)
 {
     EventLogs.SaveInformation(log);
 }
Пример #5
0
 public static void SaveErrorToEventLogs(this Exception ex)
 {
     EventLogs.SaveError(ex);
 }
Пример #6
0
 public static void SaveErrorToEventLogs(this Exception ex, string user_message)
 {
     EventLogs.SaveError(ex, user_message);
 }
Пример #7
0
 public static void SaveErrorToEventLogs(this Exception ex, service service, eventID eventID)
 {
     EventLogs.SaveError(ex, (service == service.Null ? (int?)null : (int)service), (eventID == eventID.Null ? (int?)null : (int)eventID));
 }