Exemplo n.º 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));
 }
Exemplo n.º 2
0
 public static void SaveErrorToEventLogs(this string log)
 {
     EventLogs.SaveError(log);
 }
Exemplo n.º 3
0
 public static void SaveWarningToEventLogs(this string log)
 {
     EventLogs.SaveWarning(log);
 }
Exemplo n.º 4
0
 public static void SaveInformationToEventLogs(this string log)
 {
     EventLogs.SaveInformation(log);
 }
Exemplo n.º 5
0
 public static void SaveErrorToEventLogs(this Exception ex)
 {
     EventLogs.SaveError(ex);
 }
Exemplo n.º 6
0
 public static void SaveErrorToEventLogs(this Exception ex, string user_message)
 {
     EventLogs.SaveError(ex, user_message);
 }
Exemplo n.º 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));
 }